version control - SVN: Adding a new branch to the "Choose items" list -


apologies if covered somewhere, couldn't find existing answer @ least on short search.

  • i use tortoisesvn on repository has many (historical , otherwise) branches, of need few new ones.
  • i want able update these select branches 1 "svn update" right-click menu command root level.
  • i able add new branch selection of used branches later , still able update thse 1 command above.

the last bullet current problem. solved middle bullet earlier using "choose items" option when doing initial check-out repository root, resulted in folder structure this:

svn tree before

now when clicked "svn update" "top" works nicely update 3 locations (v12_0, feature_a , trunk).

but last bullet's problem comes when later new branch called v12_1 added. tree this:

svn tree after

i can tree doing "svn checkout" "branches" node , selecting v12_1, when try "svn update" "top", still updates original 3 locations, not new v12_1.

i know work deleting local checkout , doing again "top" level "svn checkout" , "choose items" selecting branches (v12_0, v12_1, feature_a , trunk), since branches big, take time, , anyway i'd interested know if there more elegant way achieve this.

finally, bonus question (this haven't tried yet): deleting branch locally when it's become obsolete? assume don't need v12_0 anymore - can delete folder locally, or if , take "svn update" "top", bring v12_0 back?

don't "checkout" add folder. creating new, nested working copy separate top-level working copy.

instead, use "update revision..." , there "choose items" button can use before when first created working copy.

alternately, repository browser, if right-click branch want, should able "update item revision" pull down existing working copy.

for deleting branch local copy, should right-click branch, , use "update revision..." dialog again. there, set depth "exclude". otherwise, when update, tortoisesvn restore branch.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -