You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bernardo Arlandis Mañó <be...@tsolucio.com> on 2005/02/18 13:31:09 UTC

Comitting multiple directories

Hi.

I'm new to this list. I've started using svn and found it very easy to 
use, just one thing that I can't figure out.

I check out two directories from the same repository in a non-svn 
directory. When I make modifications to both directories I'd like to 
commit them in one atomic operation, doing: svn commit dir1 dir2
but it complains that the parent directory isn't a working directory.

How could I do that? I've searched the mailing list, the issue tracker, 
google, and I have just found a weird workaround making the parent 
directory an empty working directory and specifying all files in the commit.

May this issue have any relation?
http://subversion.tigris.org/issues/show_bug.cgi?id=2073

Is there some easier way to do this? if not, why?

Thanks.
Bernardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Comitting multiple directories

Posted by Ben Collins-Sussman <su...@collab.net>.
On Feb 18, 2005, at 7:31 AM, Bernardo Arlandis Mañó wrote:

> Hi.
>
> I'm new to this list. I've started using svn and found it very easy to 
> use, just one thing that I can't figure out.
>
> I check out two directories from the same repository in a non-svn 
> directory. When I make modifications to both directories I'd like to 
> commit them in one atomic operation, doing: svn commit dir1 dir2
> but it complains that the parent directory isn't a working directory.
>
> How could I do that?

You can't do it.  It used to work, but then we changed the code for 
other reasons, and this was one of the casualties.  It will be fixed 
someday, I suspect, in a more generalized way... so that 'svn commit A 
B C D...' would group the targets by repository UUID, and do a series 
of grouped atomic commits, 1 for each repository.  That's the eventual 
goal.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org