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

RE: Add Files Without Checkout

From: Deltour, Stephane <stephane.deltour_at_barco.com>
Date: Tue, 17 Feb 2009 14:56:06 +0100


You can use the svn import command.

svn import somefile.txt http://.../somerepos/somedir/somefile.txt -m "Importing somefile.txt"
This imports the local file somefile.txt somewhere in a repository.

If you want to add multiple files in one go, you might still opt to check out the target directory with the option --depth=empty.
In this way you create a working copy but without copying the contents locally. You can then add your files in this working copy and then commit them.

See the svnbook for more details about the svn import / svn checkout commands

Stephane Deltour

-----Original Message-----
From: sandeep nair [mailto:sandipsnair_at_yahoo.com]
Sent: feb 17, 2009 13:23
To: users_at_subversion.tigris.org
Subject: Add Files Without Checkout


In my application multiple client machines upload their log files horly into a SVN server. Since in my case the target directory is pretty big I can't afford to check it out for adding the file. Is there a method to add files to the repository without checking out the target directory?

I am trying to add files to SVN using Command Prompt.

Sandeep S. Nair


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-17 14:57:18 CET

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.