subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Weber <ja...@jacobweber.com>
Subject Re: Diff output: get full path of files
Date Mon, 24 Oct 2011 21:43:48 GMT
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
Mime
View raw message