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

Re: Not a working directory after checkout.

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Thu, 17 Jul 2008 18:44:23 -0500

On Jul 17, 2008, at 17:26, Ted Berg wrote:

> Given:
> svn server foo.com, the repo my-repo which lives on foo.com.
> If I execute the following commands:
> $ mkdir tmpdir
> $ svn mkdir https://foo.com/repos/my-repo/trunk/this/is/a/new/
> directory -m "Programmatically adding directory"
> $ svn checkout https://foo.com/repos/my-repo/trunk/this/is/a/new/
> directory tmpdir/this/is/a/new/directory
> $ cd tmpdir/this/is/a/new/directory
> $ svn info
> svn: '.' is not a working copy
> Is this expected behavior? I've been doing this off and on for
> months without a problem. Instead of the 'svn info' I generally
> copy files into tmpdir/this/is/a/new/directory, 'svn add' them and
> commit. It recently stopped working, and I am at a loss.
> This particular experiment was performed on a windows box, and the
> client is the command line subversion, rev 1.4.5 (r25188). I'm not
> certain what the backend is, but I do know that we had to update it
> a while ago to resolve an issue on windows with files over 64k in
> size.
> I realize this isn't a lot to go on. I'll provide any additional
> info that I am able.

I can't reproduce that. I'm using Subversion 1.5.0 on Mac OS X
10.4.11 Intel. Here's my recipe:

$ svnadmin create repo
$ REPO=file://`pwd`/repo
$ svn mkdir $REPO/trunk/this/is/a/new/directory -m ""
svn: Try 'svn mkdir --parents' instead?
svn: File not found: transaction '0-0', path '/trunk/this/is/a/new/
$ svn mkdir $REPO/trunk/this/is/a/new/directory --parents -m ""

Committed revision 1.
$ svn co $REPO/trunk/this/is/a/new/directory tmpdir/this/is/a/new/
Checked out revision 1.
$ cd tmpdir/this/is/a/new/directory
$ svn info
Path: .
URL: file:///tmp/repo/trunk/this/is/a/new/directory
Repository Root: file:///tmp/repo
Repository UUID: fe11ae1b-78d2-4cf6-908b-c1636e0cad49
Revision: 1
Node Kind: directory
Schedule: normal
Last Changed Author: rschmidt
Last Changed Rev: 1
Last Changed Date: 2008-07-17 18:41:17 -0500 (Thu, 17 Jul 2008)


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-18 01:45:11 CEST

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

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