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

Re: Should checkout into a working copy fail?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-05-03 00:10:38 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Philip Martin <philip@codematters.co.uk> writes:
>
> > > I can remember back in the earliest days of coding, when we were first
> > > writing the update-editor, that we were checking to prevent writing to
> > > an existing WC. How the heck did we lose this check?
> >
> > Uh, no regression test? I wrote one of those as well :)
> >
>
> Are you kiddin? That "existing-WC" check was built into the earliest
> foundations of the update-editor. Eons ago it was, in the Elder Days.
> When the world was grey, long before there were tests of any kind. :-)

$ rm -rf ~/wc
$ svn co file:///home/pm/repo -d ~/wc
A /home/pm/wc/trunk
A /home/pm/wc/trunk/foo
A /home/pm/wc/trunk/bar
A /home/pm/wc/trunk/zig
A /home/pm/wc/trunk/zig/zag
A /home/pm/wc/branch
A /home/pm/wc/branch/foo
Checked out revision 7.
$ svn co file:///home/pm/repo/trunk -d ~/wc
A /home/pm/wc/foo
A /home/pm/wc/bar
A /home/pm/wc/zig
A /home/pm/wc/zig/zag
Checked out revision 7.
$ echo x >> ~/wc/zig/zag
$ svn st -uv ~/wc
_ 7 7 pm /home/pm/wc
_ 7 6 pm /home/pm/wc/bar
_ 7 5 pm /home/pm/wc/branch
_ 7 5 pm /home/pm/wc/branch/foo
_ 7 4 pm /home/pm/wc/foo
_ 7 7 pm /home/pm/wc/trunk
_ 7 6 pm /home/pm/wc/trunk/bar
_ 7 4 pm /home/pm/wc/trunk/foo
_ 7 7 pm /home/pm/wc/trunk/zig
_ 7 7 pm /home/pm/wc/trunk/zig/zag
_ 7 7 pm /home/pm/wc/zig
M 7 7 pm /home/pm/wc/zig/zag
Head revision: 7
$ svn ci ~/wc
Sending wc/zig/zag

../svn/subversion/libsvn_client/commit.c:602
svn_error: #21062 : <Filesystem has no such file>
  Commit failed (details follow):

../svn/subversion/libsvn_fs/tree.c:180
svn_error: #21062 : <Filesystem has no such file>
  file not found: transaction `26', path `/zig/zag'

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 3 00:11:43 2002

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