Skip to main content
All CollectionsUsing SubversionAdvanced Controls For SVN
Can I Create a Branch From an Earlier Revision?
Can I Create a Branch From an Earlier Revision?
Toshi Dávila avatar
Written by Toshi Dávila
Updated this week

Yes, it is possible to create a branch from any revision. First, review the following help command:

svn help copy
-r [--revision] arg   : ARG (some commands also take ARG1:ARG2 range)
                        A revision argument can be one of:
                          NUMBER       revision number
                          '{' DATE '}' revision at start of the date
                          'HEAD'       latest in repository
                          'BASE'       base rev of item's working copy
                          'COMMITTED'  last commit at or before BASE
                          'PREV'       revision just before COMMITTED


To use this command in practice:

svn copy -r123 http://svn.example.com/repos/calc/trunk  http://svn.example.com/repos/calc/branches/my-calc-branch


In this case, "123" is the revision number from which you want to create a branch. 

Need help? Contact us at support@assembla.com. 


Did this answer your question?