[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: Hal Vaughan <hal_at_thresholddigital.com>
Date: 2005-11-29 20:22:11 CET

On Tuesday 29 November 2005 02:01 pm, Theo Van Dinter wrote:
> 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.

So if I want to check out files in a directory, I'd have to delete all the
corresponding files in that directory, first? Is that correct?

So what do I do after I've edited a file in the bin directory and want to
commit the changes in that file to the repository?

Thanks!

Hal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 29 20:29:25 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.