You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2002/03/30 13:45:58 UTC
Re: [Issue 659] New - The copy command should allow a rev
issues@subversion.tigris.org writes:
> + This is probably a good place to start using the "@rev" extenstion. It would be
> + nice to allow specifying a revision for the copy command. E.g.:
> +
> + svn copy http://server/repo/trunk@54 http://server/repo/branches/my-branch
> +
> + Or, if the extension isn't wanted, do:
> +
> + svn copy -r 54 http://server.repo/trunk http://server/repo/branches/my-branch
Ummmmm, Ben? 'svn copy' has always taken a -r argument. We've
already used it to tag specific revisions...?
copy (cp): Duplicate something in working copy or repos, remembering history.
usage: svn copy SRC DST.
SRC and DST can each be either a working copy (WC) path or URL:
WC -> WC: copy and schedule for addition (with history)
WC -> URL: immediately commit a copy of WC to URL
URL -> WC: check out URL into WC, schedule for addition
URL -> URL: complete server-side copy; used to branch & tag
Valid options:
-m [--message] arg: specify commit message "ARG"
-F [--file] arg: read data from file ARG
-r [--revision] arg: specify revision number ARG (or X:Y range)
--username arg: specify a username ARG
--password arg: specify a password ARG
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [Issue 659] New - The copy command should allow a rev
Posted by Ben Collins <bc...@debian.org>.
On Sat, Mar 30, 2002 at 07:45:58AM -0600, Ben Collins-Sussman wrote:
> issues@subversion.tigris.org writes:
>
> > + This is probably a good place to start using the "@rev" extenstion. It would be
> > + nice to allow specifying a revision for the copy command. E.g.:
> > +
> > + svn copy http://server/repo/trunk@54 http://server/repo/branches/my-branch
> > +
> > + Or, if the extension isn't wanted, do:
> > +
> > + svn copy -r 54 http://server.repo/trunk http://server/repo/branches/my-branch
>
> Ummmmm, Ben? 'svn copy' has always taken a -r argument. We've
> already used it to tag specific revisions...?
Well damn. Someone needs to disable the issue tracker after 2am.
--
.------==-=======--------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org '
`---=========---====----------==-===-------=--=---'
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org