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

Re: Can't get /pathfile to work

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 05 Sep 2010 08:23:34 +0200

On 04.09.2010 11:19, Peter wrote:
> When I try to do a commit via commandline, using the /pathfile
> option, TSVN displays the following message in the commit dialog:
>
> Can't open file '"C:\Users\crash\Documents\Visual Studio
> 2008\Project\MyGames"\.svn\entries': Die Syntax fur den Dateinamen,
> Verzeichnisnamen oder die Datentragerbezeichnung ist falsch.

nice username :)

> The pathfile is a programatically generated UTF-16 little-endian
> encoded file with the following content (I also tried without
> quotes):
>
> "C:\Users\crash\Documents\Visual Studio 2008\Projects\MyGames"

The paths must not have quotes in the path file. Every path is on a
separate line, so quotes are not necessary.

> That's how I specify the pathfile on the commandline:
>
> tortoiseproc /command:commit /pathfile:"C:\Us
> ers\crash\AppData\Local\Temp\tmpF615.tmp"
>
>
> Interestingly, it works when I specify the pathfile content via /path
> directly:
>
> tortoiseproc /command:commit /path:"C:\Users\ crash\Documents\Visual
> Studio 2008\Projects\MyGames"
>
>
> Any idea what could cause the problem?

Not sure. But you could compare the path file TSVN passes to
TortoiseProc with the one you're passing.

Since TSVN removes its path file immediately after use, you can set the
registry DWORD value
HKCU\Software\TortoiseSVN\Debug
to 1 - this will pop up a dialog with the command line. If you don't
click on the OK button, you have time enough to find the path file and
examine it.

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=2655562
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-05 08:23:57 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.