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

Re: relative URLs (was: rapidsvn feedback)

From: <cmpilato_at_collab.net>
Date: 2002-08-02 14:22:12 CEST

Dave Cridland <dave@cridland.net> writes:

> On Thu, 2002-08-01 at 22:24, Greg Stein wrote:
> > IMO, we shouldn't use "%%" in any situation (although I could bend for the
> > cmdline). That form just isn't a standard URL.
> >
> > When you have a GUI, where there is no ambiguity about what was typed in,
> > then you allow users to enter a relative URL, and use the standard URL
> > composition guidelines to establish the absolute URL. The only tricky part
> > is decided what the "base" is for the relative URL to be useful. The RFC
> > actually covers some of how to defined a base URL.
> This thread is now officially confusing me. Admittedly this doesn't
> usually take much - a piece of paper with "Please Turn Over" written on
> both sides usually does the trick.
> What's the difference between...
> (base URL of directory: http://svn.somewhere.tld/repos/dir)
> [user@host dir]$ svn cp file1.c file2.c

This will copy file1.c to file2.c locally in your working copy, and
schedule file2.c for addition as a copy of file1.c. No commit here,
and the copy is revertable.

> ...and...
> [user_at_host dir]$ svn cp http://svn.somewhere.tld/repos/dir/file1.c
> http://svn.somewhere.tld/repos/dir/file2.c

This will actually commit a new file2.c as a copy of the file at the
first URL! This is not revertable.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 2 14:22:55 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.