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

RE: Please support diffs from svnlook

From: Alexander A. Shtuchkin <Alexander.Shtuchkin_at_softspb.com>
Date: 2007-01-18 19:57:57 CET

Lübbe Onken wrote:

> Don't use svnlook to create patch files. As the name suggests, svnlook is
> used to 'look' at something from a particular revision. So you look at the
> diff. This doesn't create valid patch files if you redirect the output.
> Svn won't apply them either.
> If you want to create a diff that can be applied, use 'svn diff' to create
> it.

Why shouldn't I use it? :)
According to the manual at http://svnbook.red-bean.com
svnlook diff "Prints unified diffs of changed files.", no less.

Also, it really does create a valid patch file, at least for GNU patch 2.5.4, which I checked out myself. AFAIK svn cannot apply patch files itself.

One more thing - on server svnlook diff is MUCH faster than the usual svn diff. And most public post-commit scripts do use svnlook. Otherwise it wouldn't matter.

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 18 20:02:39 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.