Johan Appelgren wrote:
> On 8/15/05, Brass Tilde <brasstilde@insightbb.com> wrote:
>
>> I apologize if this is in the book; none of my searches revealed
>> anything in the book or in the list archive.
>>
>> Is there any way to have Subversion copy multiple directories
>> within the repository into a single directory using a single svn
>> command invocation?
>>
>> [...]
>>
>> Now, I realize that with a checkout of the "/Release 1.0" branch
>> directory, I can "svn copy" each of those individual apps into the
>> working copy, then commit that as one revision (at least, I
>> presume so from reading the docs; I haven't actually tried it).
>> However, that uses up a fair bit of disk space and time with these
>> apps.
Do you really care whether it is a single command invocation, or do you
just want to avoid using your working copy? If the latter, then no
working copy is necessary. If I undertand what you want to do, you
can just operate on the repository directly by using an "svn mkdir URL"
and then multiple "svn cp fromURL toURL" commands to achieve your target
layout.
> I haven't actually used this myself but maybe you could use rsvn
> <https://opensvn.csie.org/traccgi/rsvn/trac.cgi/wiki>.
If you want all of the above operations to be part of a single commit
(is this what you really meant by "single command invocation"?),
then rsvn referenced above is what you want. Get the version that I
attached at the bottom of the wiki page -- I made some small
modifications to it that makes it work better for me, though of course YMMV.
Cheers,
Raman Gupta
Received on Mon Aug 15 23:50:31 2005