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

Re: Problems with "/path:" parameter of "Tortoiseproc.exe" (size limitation?)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 15 Mar 2008 15:38:24 +0100

U B wrote:
> Hi,
>
> I am using "Tortoiseproc.exe" in a Windows command file to commit files
> from multiple directories. It looks like this:
>
> "C:\Program Files\TortoiseSVN\bin\tortoiseproc.exe" /command:commit
> /path:"D:\user\ub\work\sd\eclipse\workspace\org.example.secretweapon*D:\user\ub\work\sd\project\SecretWeapon"
> /logmsg:"" /notempfile /closeonend
>
> This worked fine until I added another directory to the path:
>
> "C:\Program Files\TortoiseSVN\bin\tortoiseproc.exe" /command:commit
> /path:"D:\user\ub\work\sd\eclipse\workspace\org.example.secretweapon*D:\user\ub\work\sd\eclipse\workspace\org.example.secretweapontest*D:\user\ub\work\sd\project\SecretWeapon"
> /logmsg:"" /notempfile /closeonend
>
> I now get the following error message:
>
> Error 'D:\user\ub\work\sd' is not a working copy
> Error Can't open file 'D:\user\ub\work\sd\.svn\entries': The system
> cannot find the path specified.
>
> I wonder if there is any limitation on the number/size of the
> directories to be used in the path or if I am doing something wrong?
>
>
> BTW: I am using version 1.4.8.

See here:
http://blogs.msdn.com/oldnewthing/archive/2003/12/10/56028.aspx

if you're using a bat file, you ran into the 8192 char size limit.

Write your paths into a text file, separated by newlines and then pass
the path to that file (and of course leave the /notempfile param).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-15 15:38:40 CET

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