[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: Jacob Weber <jacob_at_jacobweber.com>
Date: Mon, 24 Oct 2011 14:43:48 -0700

On Oct 24, 2011, at 2:41 PM, Jacob Weber wrote:
> For example, if I give it two URLs:
> svn diff https://repos/proj1/dir1/dir2https://repos/proj2/dir1/dir2
>
> I get something like this, with the repository-relative paths in parentheses, prefixed by "...":
> Index: file1
> ===================================================================
> --- file1 (.../proj1/dir1/dir2) (revision 103644)
> +++ file1 (.../proj2/dir1/dir2) (revision 103644)

Sorry, have to correct myself. I don't always get the repository-relative paths in that case. If the leading paths of the two URLs are the same, it omits those:

svn diff https://repos/proj1/dir1/dir2https://repos/proj1/dir1/dir3

Index: file1
===================================================================
--- file1 (.../dir1/dir2) (revision 103644)
+++ file1 (.../dir1/dir3) (revision 103644)

Jacob
Received on 2011-10-24 23:44:26 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.