I want to do something like svn add dir1 dir2; svn ci dir1 dir2 but have it be only 1 revision. Is there a way to do this?

P.S. Is this the correct way to add new folders (with contents) to the repository? We are restructuring the trunk, so I cleared it out and plan on putting these directories with their contents in it.

link|improve this question

17% accept rate
feedback

1 Answer

You can add, delete, edit as many files as you want in a single revision. When you commit the changes a revision is made, not when you do a single action such as add or remove a folder.

Just do everything you want to do THEN commit to the SVN.

link|improve this answer
I don't think you understood the question. Like if I want to import this directory and that directory. Each one causes a revision. – person Jun 19 '10 at 0:02
1  
@person - no it doesn't. Only a svn ci causes a new revision. – richq Jun 19 '10 at 15:17
I agree with rq. The svn add doesn't do an implicit commit. If you do add without ci (aka commit), your directories are not added to the subversion repository. – Doug Harris Jul 27 '10 at 15:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.