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

Re: Batch add/remove files to rep using the svn cli tools.

From: Staffan Tjernström <stjernstrom_at_mail.esignal.com>
Date: 2007-09-30 22:36:28 CEST

How about svn add test/* ?

You'll get some warnings about files that are already in the repository,
but those can be safely ignored.

Rgds

Staffan Tj.

   Staffan Tjernström | Sr. Software Engineer - Market Data Systems |
                            www.esignal.com

        eSignal, Interactive Data Desktop Solutions (NYSE: IDC)

   3955 Point Eden Way | Hayward, CA 94545-3720 | 510.723.1723 | FAX:
                             510.266.6100

DISCLAIMER: This message (including any files transmitted with it) may contain confidential and / or proprietary information, is the property of Interactive Data Corporation and / or its subsidiaries and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution or use of this message, or any attachments, is prohibited and may be unlawful.

attached mail follows:


Hello list,

When I was on Windows I used TortoiseSVN's commit option to commit all the
"transactions" done to the repository (modifications, adds and deletes) with
one click.

I'm using ubuntu linux now and while I'm quite comfortable with the CLI, I
have not yet found a way to do this kind of commit I used to do with
TortoiseSVN.

I.e: When I run a svn status on a working copy of my project, I get the
following output:

? test/unit/package_test.rb
? test/unit/order_test.rb
? test/unit/yearlyprices_test.rb
? test/unit/monthlyprice_test.rb
? test/functional/yearlyprices_controller_test.rb
? test/functional/account_controller_test.rb
? test/functional/packages_controller_test.rb
? test/functional/orders_controller_test.rb
? test/functional/pages_controller_test.r
M app/controllers/users_controller.rb
M log/development.log
M todo.txt
M db/schema.rb
M db/migrate/001_create_users.rb
M config/database.yml
(...)

The ? symbol means that this file is not in the repository. If I were using
Tortoise I would just check the "select removed/added files" (or something
like that) and it would then add/remove the added (files not in the rep) and
remove the removed files for me. However, I couldn't find any svn command to
do this batch operation yet. It is a pain to run svn add for each of those
files.

If anyone could show me a neat solution to this I would be grateful!

Marcelo.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 30 22:36:50 2007

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.