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

Re: Compare file with repository

From: Pieter Ennes <pieter.ennes_at_q-go.com>
Date: 2005-12-13 17:10:14 CET

Paul Koning wrote:

> True. A simple shell script loop will do that, though. Something
> like:
> for f in *; do
> svn cat svn://foo.com/bar/baz/$f | diff - $f
> done
>
> If you want to recurse, you can use some magic with the "find" command
> and the -execute switch.

Yes, although this will fail if there are any new files in the
repository, which are not yet on the local filesystem i guess... that's
why i was looking for a more svn-integrated command.

Thanks for your help though, Paul.

-- 
  - Pieter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 13 17:50:52 2005

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.