You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christopher Brown <ch...@calligrafix.com> on 2004/03/03 16:50:36 UTC
About copying/branching
Hi,
When tagging something, e.g. tagging:
http://host/repos/trunk
as:
http://host/repos/tags/customer1/r1
...the operation failed. By looking through logs, I figured out that I had
to make "tags", then "customer1", then "r1".
My branch command was:
svn copy http://host/repos/trunk http://host/repos/tags/customer1/r1 -m "my
log message"
Is there any way to create intermediate directories when branching like
this? It's not too bad manually, but a bit of pest to automate.
The command works after creating intermediate folders. However, it creates
a folder containing "trunk" inside "r1". Could I copy "trunk"'s *contents*
into "r1"? Didn't spot syntax for doing this in the Subversion manual.
Thanks,
Chris
P.S.: I'm using Subversion 1.0.0
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: About copying/branching
Posted by Calvin Spealman <ca...@ironfroggy.com>.
On Wednesday 03 March 2004 11:50 am, "Christopher Brown"
<ch...@calligrafix.com> wrote:
> Is there any way to create intermediate directories when branching like
> this? It's not too bad manually, but a bit of pest to automate.
>
> The command works after creating intermediate folders. However, it creates
> a folder containing "trunk" inside "r1". Could I copy "trunk"'s *contents*
> into "r1"? Didn't spot syntax for doing this in the Subversion manual.
You'll have to just keep creating them manually, for now. This hopefully isnt
too much of a problem, because typically developers will keep most or all of
their tags in one directory, or at least all the tags for a particular major
or minor version number together.
I'm writting a tag management script called svntag (link to a very poor
version was posted a few days ago, but its improving). I'll keep this in mind
for the next few versions and try to put in an option like mkdir's --parents
option. If you want, I can notify you when such a feature is available.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: About copying/branching
Posted by "C. Michael Pilato" <cm...@collab.net>.
"Christopher Brown" <ch...@calligrafix.com> writes:
> Is there any way to create intermediate directories when branching like
> this? It's not too bad manually, but a bit of pest to automate.
I've been meaning to do this for some time now, though I haven't
decided if I prefer the behavior to be automatic like that of 'svn
import' or option-enabled ala 'mkdir --parents'. Could you file a
Feature Request in our issue tracker if there isn't one for this
already?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org