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

Re: Diff output: get full path of files

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 24 Oct 2011 22:11:47 +0100

Jacob Weber <jacob_at_jacobweber.com> writes:

> I want to pass the output of "svn diff OLD-URL NEW-URL" to a
> code-review tool, but I need to include the full path of each file
> in the ---/+++ headers.
>
> The paths in the output always seem to be relative to the directories
> you pass in. Is there a way to make it include the full paths?

The paths in the standard diff output are repository relative paths. If
you want the paths to local copies of the files use --diff-cmd to invoke
your own wrapper, the files paths are parameters 6 and 7.

-- 
Philip
Received on 2011-10-24 23:12:25 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.