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

Re: Reading Commits From External File

From: Bob Proulx <bob_at_proulx.com>
Date: 2006-05-23 17:24:02 CEST

Ryan Schmidt wrote:
> How about:

The 'cat' process is completely unneeded. It is better not to use it.

Good:
> cat filenames.txt | xargs svn commit -m "Passed testing"
>
> (if you wanted one commit containing all files) or

Better:
  xargs svn commit -m "Passed testing" < filenames.txt

Good:
> cat filenames.txt | xargs -n 1 svn commit -m "Passed testing"
>
> (if you wanted one commit per file).
>
> Paths containing spaces may not be handled properly by the above;
> testing is advised.

Better:
  xargs -n 1 svn commit -m "Passed testing" < filenames.txt

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 23 17:33:53 2006

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.