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

Re: Tortoiseproc diff: working copy modified file to unrelated URL

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 09 Dec 2013 20:02:15 +0100

On 07.12.2013 23:25, Dan Ellis wrote:
> Hi,
>
> I'm trying to automate a diff between a local file (with mods) to a
> server-side URL but for the life of me can't figure out the correct
> command line for tortoiseproc.exe.
>
> I'd like to do a:
> tortoiseproc.exe /command:diff /path:"C:\WC\foo.c"
> /path2:"http://svr/repo/<somedir>/foo.c"
>
> When I do this, I get an SVN exception followed by a cascading TSVN
> can't find file error. I assume /command:diff isn't a fan of URLs
>
> ---------------------------
> Subversion Exception!
> ---------------------------
> In file
> 'D:\Development\SVN\Releases\TortoiseSVN-1.8.4\ext\subversion\subversion\libsvn_subr\dirent_uri.c'
> line 1571: assertion failed (! svn_path_is_url(relative))
>
>
> SVN command line handles this fine:
> svn diff C:\WC\foo.c http://svr/repo/<somedir>/foo.c
>
> I've tried /command:showcompare too:
> tortoiseproc /command:showcompare /url1:"C:\WC\foo.c"
> /url2:"http://svr/repo/<somedir>/foo.c" works but will ignore local mods
> to foo.c (which I'd really like to view).
>
> I'm sure I'm missing something very minor...

Use /command:showcompare /url1:"wcpath" /revision1:WC /url2:"url"
/revision2:HEAD

and it should do what you want.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3070013
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-12-09 20:02:31 CET

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