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

Re: Cannot Checkout or Commit on New Repository

From: Theo Van Dinter <felicity_at_kluge.net>
Date: 2005-11-29 20:01:24 CET

On Tue, Nov 29, 2005 at 01:56:41PM -0500, Hal Vaughan wrote:
> svn import ./ file:///thresh/threshNet/source -m "Initial import"
> and it imported all my files. Once this was done, I wanted to test it out, so
> I edited one program, /thresh/threshNet/bin/t-test by changing it just a
> little, and got this:
> [hal@server:threshNet]$ svn commit bin/t-test
> svn: '/thresh/threshNet/bin' is not a working copy

I don't believe import makes a working copy out of a directory.

> Which lead to this:
> [hal@server:threshNet]$ svn checkout bin/t-test
> checkout (co): Check out a working copy from a repository.
> usage: checkout URL... [PATH]...{followed by long help message}

You can't checkout a file, you have to checkout a directory.

> [hal@server:threshNet]$ svn checkout
> file:///thresh/threshNet/source/bin/t-test
> svn: URL 'file:///thresh/threshNet/source/bin/t-test' refers to a file, not a
> directory
> [hal_at_server:threshNet]$ svn checkout file:///thresh/threshNet/source/bin/
> svn: Failed to add file 'bin/t-test': object of the same name already exists

You can't checkout over the directory you just imported. Either move to a new
directory, or remove the files you're trying to checkout.

Randomly Generated Tagline:
"EE good."                  - Prof. Vaz

  • application/pgp-signature attachment: stored
Received on Tue Nov 29 20:08:01 2005

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.