svn - create and use branch in anksvn -


i ask proper method of using current version of anksvn when working visual studio 2010.

right have 'original' version of code checked 'trunk'. modify existing code , place modified code branch.

to place code 'branch', can tell me of following should and/or tell me proper method:

  1. do 'create branch' first , check in copy original code branch? or
  2. do 'create branch' first , check in modified code branch? or
  3. check out original code location on workstation, modify code, , checkin modifed code @ same time 'create' branch. and/or
  4. can tell me proper procedures checking in modifed code anksvn? create 'branch' before checking code subversion or during process of checking in modified code anksvn?

you can either create branch based on url or #3 in question, copy current state of working copy new branch.

to create branch remotely (without considering state of working copy) using ankh:

  • right click solution -> subversion -> branch solution
  • choose head/latest version copy trunk (or current branch) you're working in new branch.
  • enter branch name after url present in 'to:' box. box best-attempt guess location of branches directory (if want create tag, you'll have change 'branches' 'tags).
  • enter log message
  • optionally select "switch branch". change working copy point branch. when using branches release maintenance prefer keep separate working copies each branch.
  • hit ok

in same dialog can select 'working copy', instead of 'head/latest version'. in case copy current state of working copy branch.

the last option "specific version". here can browse history of current location in repository find exact moment in time want create branch. rest of procedure same.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -