开发者

how to keep 2 copies of project files, one in svn and another for you?

I use eclipse and svn 1.6

What I basically want is to be开发者_开发技巧 able to switch between svn files and current I work with, so that I could rollback to the state that I had before synchronizing and updating some files with svn changes.

I do not want to put local changes to svn. But I want the state of all files to be saved somewhere, by using a magic command: "save project current state".

And so later I can return to that state. But I do not want to use svn for this purpose. Svn is shared with other developers and is for stable release. What I need is to be able to keep milestone states, and specifically NOT USE SVN for this purpose.

It's like copying all the files to a backup folder and later, when you need, copying all those files back.

Any plugins recommended?


Use git for this, it can use svn as remote repository, and have all this stuff you asks (and much more).


Hmm, I'd actually recommend the usage of a branch if you want multiple variations on your code. That way you can also cross merge code as necessary.


The use of branches is exactly for such kind of usage. You can create an experimental branch and put your code there. If you're read just merge that branch back to the development line.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜