Re: [PATCH] Extend 'svn diff URL URL' to 'svn diff URL URL [WC]'

"C. Michael Pilato" <[email protected]> Thu, 03 Dec 2009 10:01:45 -0500
Newsgroups gmane.comp.version-control.subversion.devel,gmane.comp.version-control.subversion.rapidsvn.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
Philip Martin wrote:
> It's possible to compare branches in the repository using
> 
> $ svn diff ^/repo/branches/foo ^/repo/branches/bar
> 
> but that only works if the current directory is a working copy because
> libsvn_client/cmdline.c:svn_client_args_to_target_array converts
> relative URLs to full URLs using the hardcoded path "".  Since I
> regularly have my current working directory outside a working copy
> this is inconvenient.
> 
> I'd like to be able to do
> 
> $ svn diff ^/repo/branches/foo ^/repo/branches/bar path/to/wc
> 
> and it turns out to be quite simple from a code point of view.  It is,
> of course, an extension to our rather complex diff UI.  What do people
> think?

Is this the same meaning as:

  svn diff --old=^/repo/branches/foo --new=^/repo/branches/bar path/to/wc

?

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2426716

Please start new threads on the <[email protected]> mailing list.
To subscribe to the new list, send an empty e-mail to <[email protected]>.
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksX0tkACgkQokEGqRcG/W4C0ACdGWO8tC3PyJKIImz7D4CIqadb
SBIAn3KVm3/Qpw53LJe/VkYv8REgjdCD
=/AYN
-----END PGP SIGNATURE-----