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

Re: argh

From: Kieran <kieran_at_esperi.demon.co.uk>
Date: 2002-07-26 01:03:39 CEST

On Thu, 25 Jul 2002, Michael Price wrote:

> A mistake cvs users will only make once, but a pretty annoying one. I
> just did something like this while trying to check out two different
> directories from my real repository without even thinking.
>
> $ /tmp/tmp> svnadmin create /tmp/tmp/repo
> $ /tmp/tmp> svn co file:///tmp/tmp/repo wc
> Checked out revision 0.
> $ /tmp/tmp> dir
> total 16
> drwxr-x--- 7 mprice mprice 484 Jul 25 18:28 repo/
> drwxr-x--- 3 mprice mprice 178 Jul 25 18:28 wc/
> $ /tmp/tmp> cd wc
> $ /tmp/tmp/wc> mkdir a b
> $ /tmp/tmp/wc> svn add *
> A a
> A b
> $ /tmp/tmp/wc> svn commit -m "just testing"
> Adding a
> Adding b
>
> Committed revision 1.
> $ /tmp/tmp/wc> cd ..
> $ /tmp/tmp> rm -fr wc
> $ /tmp/tmp> svn co file:///tmp/tmp/repo/a file:///tmp/tmp/repo/b
> Checked out revision 1.
> $ /tmp/tmp> dir
> total 16
> drwxr-x--- 3 mprice mprice 177 Jul 25 18:29 file:/
> drwxr-x--- 7 mprice mprice 484 Jul 25 18:28 repo/
> $ /tmp/tmp> du --max-depth 5 file\:/
> 120 file:/tmp/tmp/repo/b/.svn
> 128 file:/tmp/tmp/repo/b
> 136 file:/tmp/tmp/repo
> 144 file:/tmp/tmp
> 152 file:/tmp
> 160 file:
>
This makes Justin's unhappiness about -d going away seem more justified.

SOmeone in that thread said that it was obvious what's a url and
what isn't. I'd say that subversion needs to catch this case, if only
because it's likely to happen early in a user's experience, and
colour their view of the project.

Regards

Kieran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 01:04:30 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.