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

Re: Adding Multiple Files at Once

From: Dominic Anello <danello_at_danky.com>
Date: 2004-12-16 15:04:59 CET

On 2004-12-15 22:26:24 -0800, Greg Willits wrote:
> Commit is easy enough, but it seems I have to manually/individually
> hunt down every new and deleted file and issue multiple add / delete
> svn commands before doing a commit. This is extremely inefficient, and
> there must be something I am missing.

If you're on a *NIX then try something like:

svn st /top/of/WC | grep '^\?' | sed 's/^\? *//' | xargs svn add

If you're on Windows, then try using Tortoise to commit at the top of
your working copy. It will show you a list of all unversioned files
with an empty check box. If you check those files off, they will be
added before you commit.

That takes care of the add case. I don't know of any easy way to
aggregate all the files you want to delete.


  • application/pgp-signature attachment: stored
Received on Thu Dec 16 15:07:44 2004

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.