sussman@gmail.com wrote on 11/30/2005 01:57:42 PM:
> On 11/30/05, Mark Phippard <markp@softlanding.com> wrote:
> > A frequently requested feature in Subclipse is the ability to compare
your
> > WC with a branch/tag. I started to add the feature and discovered
that
> > svn diff does not let you compare your WC with a URL. Is this true or
am
> > I missing something?
>
> You can compare WC with URL like this:
>
> $ svn diff --old=. --new=http://svn.collab.net/repos/svn/tags/1.3.0-rc4
>
> It works fine.
Thanks. I do not use the CLI a lot and I was not using the --old and
--new.
This command:
svn diff . http://svn.collab.net/repos/svn/tags/1.3.0-rc4
Gives this error:
svn: Target lists to diff may not contain both working copy paths and URLs
JavaHL has a method signature like the following. Do you have any idea
what I would pass for the revision for the WC? Would it take
Revision.WORKING as a value?
/**
* Display the differences between two paths
* @param target1 first path or url
* @param revision1 first revision
* @param target2 second path or url
* @param revision2 second revision
* @param outFileName file name where difference are written
* @param recurse traverse into subdirectories
* @exception ClientException
*/
void diff(String target1, Revision revision1, String target2,
Revision revision2, String outFileName, boolean recurse)
Thanks
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 30 20:49:27 2005