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

RE: Multiple svn updates by reading a file.

From: Paul Koning <Paul_Koning_at_dell.com>
Date: Fri, 3 Apr 2009 10:54:46 -0400

>>>>> "Bob" == Bob Archer <bob.archer_at_amsi.com> writes:

 Bob> I assume you mean commit not update. You can specify the files
 Bob> that you can to comment. I am pretty sure you can pipe in a text
 Bob> file that lists the files/paths. There was a thread here
 Bob> somewhere about how to do it.

 Bob> Something like

 Bob> svn ci < filelist.txt

Don't know about that, but this works:

      svn ci `cat filelist.txt`

Standard Unix shell backquote convention. I like to make the filelist
from "svn status" output, like this:

     svn status > statuslist.txt
     fgrep -v \? statuslist.txt | sed -e '^/......//' > filelist.txt
     svn diff `cat filelist.txt`

Also, somewhere int his process I verify the statuslist to make sure it
doesn't contain a file that I don't want to check in at this point (or
is missing a file that should be checked in, for example one with "?"
status instead of "A" status).

       paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1532986

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 16:55:42 CEST

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.