[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: Batch add/remove files to rep using the svn cli tools.
From:       Staffan =?ISO-8859-1?Q?Tjernstr=F6m?= <stjernstrom () mail ! esignal ! com>
Date:       2007-09-30 20:36:28
Message-ID: 1191184588.4415.5.camel () lxstjernstrom1 ! esignalcorp ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.


[Attachment #5 (text/HTML)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.2">
</HEAD>
<BODY>
How about <TT><FONT COLOR="#008080">svn add test/*</FONT></TT> ?<BR>
<BR>
You'll get some warnings about files that are already in the repository, but those \
can be safely ignored.<BR> <BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT SIZE="2"><FONT COLOR="#000080">Rgds</FONT></FONT><FONT COLOR="#000000"> \
</FONT><BR> <BR>
<I><FONT COLOR="#008000">Staffan Tj.</FONT></I><FONT COLOR="#000000"> </FONT><BR>
<BR>
<DIV ALIGN=center><FONT COLOR="#000080">Staffan Tjernstr&#246;m | Sr. Software \
Engineer - Market Data Systems | </FONT><U><FONT COLOR="#0000ff"><A \
HREF="http://www.esignal.com/">www.esignal.com</A></FONT></U></DIV> <BR>
<DIV ALIGN=center><B><FONT COLOR="#000080">eSignal</FONT></B><FONT COLOR="#000080">, \
Interactive Data Desktop Solutions (NYSE: IDC)</FONT></DIV> <BR>
<DIV ALIGN=center><FONT COLOR="#000080">3955 Point Eden Way | Hayward, CA 94545-3720 \
| 510.723.1723 | FAX: 510.266.6100</FONT><FONT COLOR="#000000"> </FONT></DIV> <BR>
<BR>
</TD>
</TR>
</TABLE>

<DIV><P><HR>
DISCLAIMER: This message (including any files transmitted with it) may contain \
confidential and&nbsp;/&nbsp;or proprietary information, is the property of \
Interactive Data Corporation and&nbsp;/&nbsp;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. </P></DIV>
</BODY>
</HTML>


[Attachment #6 (.)]



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.

[Attachment #9 (text/html)]

Hello list,<br>
<br>
When I was on Windows I used TortoiseSVN&#39;s commit option to commit all
the &quot;transactions&quot; done to the repository (modifications, adds and
deletes) with one click.<br>
<br>
I&#39;m using ubuntu linux now and while I&#39;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.<br>
<br>
I.e: When I run a svn status on a working copy of my project, I get the following output:<br>
<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/unit/package_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/unit/order_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/unit/yearlyprices_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/unit/monthlyprice_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/functional/yearlyprices_controller_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/functional/account_controller_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/functional/packages_controller_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/functional/orders_controller_test.rb<br>
?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; test/functional/pages_controller_test.r<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; app/controllers/users_controller.rb<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log/development.log<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; todo.txt<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db/schema.rb<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; db/migrate/001_create_users.rb<br>
M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; config/database.yml<br>
(...)<br>
<br>
The ? symbol means that this file is not in the repository. If I were
using Tortoise I would just check the &quot;select removed/added files&quot; (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&#39;t
find any svn command to do this batch operation yet. It is a pain to
run svn add for each of those files. <br>
<br>
If anyone could show me a neat solution to this I would be grateful!<br>
<br>
Marcelo.<br>
<br>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic