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

Re: Add a file directly to repository

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Mon, 30 Nov 2009 00:21:53 -0600

On Nov 29, 2009, at 15:33, Vadym Chepkov wrote:

> Is there a way to add file directly to a repository without having to checkout directory first ?
> If I try to import just one file I get error "path already exist".

You shouldn't get the message "path already exists" unless the path already exists. In other words, it sounds like you're using the wrong path in your import command if you're trying to add a new file to the repository.

If you're trying to replace an existing file in the repository, you'll either have to check out a working copy (which could be sparse), replace the file, then commit, or use "svnmucc put". svnmucc is included with the Subversion source distribution but not installed by default.


Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-30 07:23:01 CET

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