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

455 views
Skip to first unread message

U B

unread,
Mar 15, 2008, 10:27:31 AM3/15/08
to us...@tortoisesvn.tigris.org
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.



Udo


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

U B

unread,
Mar 15, 2008, 10:34:46 AM3/15/08
to us...@tortoisesvn.tigris.org
Looking for last minute shopping deals? Find them fast with Yahoo! Search.

Stefan Küng

unread,
Mar 15, 2008, 10:38:24 AM3/15/08
to us...@tortoisesvn.tigris.org

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

signature.asc

Udo

unread,
Mar 16, 2008, 12:15:46 PM3/16/08
to us...@tortoisesvn.tigris.org

> signature.asc

Thanks for the fast response.

Actually the problem was not related to size limitations.


I wasn't aware of the fact that all directories specified in the "/
path:" parameter must be subdirectories of a common working copy
directory.


Udo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-un...@tortoisesvn.tigris.org
For additional commands, e-mail: users...@tortoisesvn.tigris.org

Reply all
Reply to author
Forward
0 new messages