Work with Subversion from USB Key

ε祈祈猫儿з 提交于 2019-12-06 03:35:39

As long as robocopy copies the entire .svn folder it shouldn't case any problems as far as I'm aware.

You could also try to use DVCS that interfaces with Subversion (e.g. Mercurial, or git svn). DVCSes are much better at working offline, too (and Mercurial Queues are awesome :)).

You'd have repository on USB, and on your local drive. Workflow would be: update repository on USB from SVN in work, push changes from USB to local repo in home, work on the code (with full change tracking), push changes from local to USB, push changes to SVN in work.

You should make sure you're not working off a FAT32 partition on that stick, since this might mess up file change/creation dates.

As for copying SVN folders: I do this regularly and never had any issues with it.

I've used Unison for years now, works like a charm - it has a benefit of syncing everything, the compiled binaries,etc.. so can quickly catch up where left work.

I'm combining this with git-svn - this has the benefit of seeing the whole repository with all branches, so commit, merge, and even a "delayed svn update"(git svn rebase -l) works as well. My main box is GNU/Linux, but have infected my fellow Windows users and they love it too.

Also, git works very well with big repositories.. the entire repository with all history and branches should fit on a USB stick, actually taking less space than the just a single SVN checkout.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!