开发者

Is there a way to use tortoise svn to backup my modified files?

开发者 https://www.devze.com 2023-04-09 03:53 出处:网络
I开发者_如何学编程 have a bunch of files that I\'ve changed that I don\'t really want to commit, but I would like to back them up locally in case I would like to use them again.(Then I\'ll revert them

I开发者_如何学编程 have a bunch of files that I've changed that I don't really want to commit, but I would like to back them up locally in case I would like to use them again. (Then I'll revert them.)

TortoiseSvn working status helps to view the modified files, but I want a way to save them all to a separate directory like Backups\, preferably with their folder heirararchy still in tact.

How can I do that?


UPDATE:

Apparently branching is the way to go.

But what I did was just copied the modified files paths to the clipboard (which is an option in tortoisesvn) then to a file, and created a program to copy them to a backup folder.


You can create a branch and commit those files only in that branch.


You can commit it inside a branch, so it doesn't affect your current 'trunk' or branch.

If you had a try with bazaar , that is compatible with SVN, there is a shelf command to temporarily store a set of modification and apply back them later.

0

精彩评论

暂无评论...
验证码 换一张
取 消