Re: Commits files to subversion from 2 different directories
From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-14 19:06:05 CET
On Jan 14, 2007, at 10:27, ying lcs wrote:
> i have 2 directories of source code:
Subversion does not do branching and tagging the way CVS does. You do
http://svnbook.red-bean.com/en/1.2/svn.branchmerge.tags.html
There's even an appendix for users coming to Subversion from CVS.
http://svnbook.red-bean.com/en/1.2/svn.forcvs.html
> 4: commit all files in the directory 'modified-source' to subversion
You may want to use the svn_load_dirs.pl script which is included in
http://svnbook.red-bean.com/en/1.2/svn.advanced.vendorbr.html
In particular here:
http://svnbook.red-bean.com/en/1.2/
> 5. tag all the files in trunk with a label called VERSION2"
svn_load_dirs.pl can automatically create a tag of your newly-
> Can you please tell me if step 3 and 4 are possible?
So putting this all together:
> 1. create a new repository 'source' in subversion
svnadmin create /srv/svn/repositories/source
> 2. cd to org-source and
For each new project, you should generally set up the recommended
http://svnbook.red-bean.com/en/1.2/svn.branchmerge.using.html
So create these empty directories:
svn mkdir file:///srv/svn/repositories/source/trunk \
Then you can import the original source into the trunk.
svn import /path/to/org-source \
> 3: tag all the files in the source with a label called 'VERSION1"
Create the "VERSION1" tag by copying the trunk to a new name in the
svn cp file:///srv/svn/repositories/source/trunk \
> 4: commit all files in the directory 'modified-source' to subversion
Use svn_load_dirs.pl to load modified-source and tag it as VERSION2:
svn_load_dirs.pl \
-- To reply to the mailing list, please use your mailer's Reply To All function --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Sun Jan 14 19:06:48 2007 |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.