[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Atomic commit multiple cp URL URL

From: Alexander E Genaud <lx_at_pobox.com>
Date: 2006-05-01 15:16:43 CEST

Hello,

I find that I want to perform multiple cheap copies across projects
(from vendor modules to various projects in the same repository). This
can be done with multiple commits, but is it possible in one atomic
commit?

I vaguely remember reading that one can use a batch file to run
multiple commands (multiple copies) but I have been unable to find it
mentioned anywhere.

The way I get around this is to checkout -N (non-recursive) the base
of the repository. I then add the directory structure I want (the
trunks of the appropriate modules) and modify the .svn/entries. Then
svn up will give me the full repository without tags and branches. I
can then perform local copies and check in my changes atomically.

I hope there is a better way. Any suggestions?

Alex

--
CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 1 15:17:45 2006

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.