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

Re: Problems adding new files. New user

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-06 16:24:07 CEST

On Sep 6, 2005, at 14:57, Dave Pawson wrote:

> [snip]
> Initial data import worked as expected.
> [snip]
> checked out data no problem.
> [snip]
> When I try
>> svn add /path/to/file
> I get
> svn: '..\tmp\trunk' is not a working copy

/path/to/file is within \tmp\trunk, yes?

Could you show us the commands you used to create \tmp\trunk? I
presume you intended for \tmp\trunk to be a working copy, but
Subversion doesn't think it is for some reason, so let's find out why.

It should just be as simple as (Unix syntax; sorry, you'll have to
convert mentally to Windows)...

cd /tmp
svn checkout url://to/repository/project/trunk # check out a new
working copy
cd trunk # go into the new working copy
touch new-file # make a new file
svn add new-file # add the new file to version control
svn commit -m "Adding new-file" # check in the new file

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 16:26:14 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.