tortoisesvn

How can I store the new SVN revision number in my source code after I commit? (TortoiseSVN)

主宰稳场 提交于 2019-11-29 01:31:27
Is it possible, via TortoiseSVN, to know the SVN rev number you are about to get prior to a commit so that I can put that rev# into the source code comment section? Perhaps there is a special keyname/variable that I can put into my file that TortoiseSVN will automatically replace with the rev# it's about to commit to? The motivation behind this is that I can take the latest build and see what SVN rev's it was comprised of by just looking at the source code. It also gives management warm fuzzies. Subversion does support keyword expansion , but you may want to read here before choosing to

Where does TortoiseSVN store its settings (for example, Global Ignore Pattern)?

可紊 提交于 2019-11-28 23:45:15
问题 When setting up an instance of the excellent TortoiseSVN, I find myself repeating its settings, for example, 'default checkout folder' and 'global ignore pattern' (as well as many others such as the linked tools). This is a pain. Where is the latter stored? I've found the former around the registry key [HKEY_CURRENT_USER\Software\TortoiseSVN] , but 'global ignore pattern' is missing. A text search of the user tree doesn't find it either. Where is it? 回答1: From the Readme of Subversion, which

Create “patch” between revisions?

半城伤御伤魂 提交于 2019-11-28 23:00:38
It seems SVN's "patch" functionality is not exactly what I want. What I really want is to create a diff of files between revisions. So, I'd choose rev1 and rev 2 and end up with a folder containing all files that were changed or added between those revisions. Can this be done with Tortoise SVN or plain-old svn? This can be achieved in tortoise SVN itself. Right click on the branch(folder) from where you want to create the patch >> Show Log >> Select All the revisions for which you need to create the patch >> Right Click and select Compare revisions >> This will show the changed files >> Select

AssemblyInfo.cs subversion and TortoiseSVN

故事扮演 提交于 2019-11-28 21:18:54
问题 I'm using TortoiseSVN and Visual Studio 2008. Is there any way to update my project's assemblyinfo.cs with svn's version in every build? For example, 1.0.0.[svn's version] -> 1.0.0.12 回答1: You could use the SubWCRev tool which comes with TortoiseSVN (also available separately). Either run it from a command line or use the COM-Object it offers. The SubWCRev command line tool replaces keywords inside a file with information from your svn working copy. An example is shown in the docs. 回答2: I do

How do I create a SVN Commit Message Template and Hook to Verify

本小妞迷上赌 提交于 2019-11-28 21:12:14
I'm using Visual SVN Server and Tortoise SVN (client) for source control. I would like all developers to standardize on a consistent format for checkin notes. For Example I want their Commit Message to default to... Synopsis: Developer Name: (pre-populated) Reviewed By: [Bug Id]: [Change Bug State]: Known Issues: Affected Files: (pre-populated) In the future I'd like [Bug Id] and [Bug State] to supply the information to trigger an automated update to the Bug Tracking system. Also Developer Name and Affected Files should be prepopulated with the svn user and files that the user is commiting.

Windows Explorer icons in TortoiseSVN take a long time to refresh to correct state

十年热恋 提交于 2019-11-28 19:59:59
After I commit files, the icons stay on either modified or waiting for commit for a long time. Is there any way to force a refresh to ensure that the icon that I am seeing is the correct state of the file? As stated in the FAQ : try running a cleanup. gekowa You can try this: TortoiseSVN -> Settings -> Icon Overlay, set Status Cache to 'Shell' instead of 'Default' Ref. to the Help. Shell Caching is done directly inside the shell extension DLL file, but only for the currently visible folder. Each time you navigate to another folder, the status information is fetched again. Advantage: needs only

Can't open .svn/text-base/file.svn-base?

岁酱吖の 提交于 2019-11-28 18:06:22
I'm using TortoiseSVN. I just made quite a few changes to my working copy and now I went to do a commit some of the files went through but at one file named Search.aspx.cs it says Commit failed (details follow): Can't open file 'C:\-----\trunk\.svn\text-base\Search.aspx.cs.svn-base': The system cannot find the file specified. I have tried doing a SVN update and SVN cleanup and nothing is restoring this file. I can't even create a diff because it gives a similar error about missing files. How do I fix this? What did I do to cause it? Does this seem like a possible answer to your situation?

How do I configure the TortoiseSVN 'Global ignore pattern' properly?

那年仲夏 提交于 2019-11-28 16:59:29
I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right. Whatever I do, it either adds to much or ignores too much What is the correct 'Global ignore pattern' to ignore.... Folders : bin obj release compile Files : *.bak *.user *.suo Update: To help clarify... yes I am using this on windows. Currently I have the following in my Global Ignore Pattern: bin obj CVS .cvsignore *.user *.suo Debug Release .pdb test. Thumbs.db Works really well to ignore

Is there a git-svn windows client something like TortoiseSVN?

孤者浪人 提交于 2019-11-28 16:59:26
I like TortoiseSVN's Windows integration. Is there something like that for dealing with git-svn? I'd even go with a less integrated GUI if it is quick enough to access. What I don't want is a CLI as I rarely would have a command prompt sitting in the correct directory. This is a related question but for Linux loraderon Have a look at TortoiseGit which is a TortoiseSVN clone for Git. fmarc TortoiseGit ( https://tortoisegit.org/ ) added basic support for git-svn in release 0.8.1.0: The release log says: Add Basic Git-SVN Operation: Add SVN DCommit Command Add "SVN Rebase" and "SVN DCommit"

'Un-SVN' a working copy

空扰寡人 提交于 2019-11-28 16:58:15
I have a folder that is my working copy. How do I remove all SVN functionality from this folder? There is a reason for me doing this, somehow my master folder that contains all my working copies of sites, has somehow been turned into a working copy itself, so I have a working copy within itself as such. So, is there an easy way of removing version control from a folder? Just remove all ".svn" folders in it. That's it. svn export is the command you're looking for. You can export a controlled set of files to a non-controlled location and use that. If you were using *nix-like tools: find . -type