visual studio 2010 - SVN Create Branch from Uncommited Code -


i’m new svn. have project i’m adding new feature , has taken longer thought [*surprise not]. production code needs fixing. how can save uncommitted “new feature” code new branch?

thanks!

with command line tool, go root of working copy , perform following steps:

first create new (feature) branch in repository. following command has no effect on working copy:

svn copy ^/hello/trunk ^/hello/branches/feature-foobar 

now move working copy uncommitted changes feature branch , commit changes:

svn switch ^/hello/branches/feature-foobar svn commit 

move working copy trunk , start working on bug fix:

svn switch ^/hello/trunk 

later go feature branch, complete changes , reintegrate them trunk.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -