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

Re: What do you Hate about Subversion?

From: Josh Pieper <jjp_at_pobox.com>
Date: 2007-01-19 13:07:07 CET

Byron Brummer wrote:
> Here's my short list:
>
> Can not diff a working copy against a URL
> svn: Target lists to diff may not contain both working copy paths and
> URLs
>
> CVS diff lets me diff my working files against the repo at any branch I
> like. SVN...doesn't.
>
> Workaround: Copy WC to a tag, then diff the tag URL against the target
> URL.
> Expensive and fugly.

That diffing scenario is handled by use case 2 as shown in
'svn help diff':

...

2. diff [-r N[:M]] --old=OLD-TGT[@OLDREV] [--new=NEW-TGT[@NEWREV]] \
        [PATH...]

...

2. Display the differences between OLD-TGT as it was seen in OLDREV and
   NEW-TGT as it was seen in NEWREV. PATHs, if given, are relative to
   OLD-TGT and NEW-TGT and restrict the output to differences for those
   paths. OLD-TGT and NEW-TGT may be working copy paths or URL[@REV].
   NEW-TGT defaults to OLD-TGT if not specified. -r N makes OLDREV default
   to N, -r N:M makes OLDREV default to N and NEWREV default to M.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 19 13:08:16 2007

This is an archived mail posted to the Subversion Users mailing list.