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

Shortcut for current URL in a working copy?

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2004-09-22 13:38:58 CEST

I'm in some directory of a working copy, and I would like to copy
a file that was deleted from this directory. I can do this with
something like:

  svn copy -r1234 svn+ssh://path/to/file newfile

I can find the base URL svn+ssh://path/to with "svn info".

Now, is there a way to do this without using "svn info"? Something
like "svn copy -r1234 current:/file newfile"? i.e. where "current:"
means `svn info | sed -n 's/^URL: \(.*\)/\1/p'` (for Unix users).
That would really be nice.


Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 13:39:48 2004

This is an archived mail posted to the Subversion Users mailing list.