it does work if i run the script from the root folder like you did,
but if i run it from a subfolder using relative paths that go 'up' in
the directory structure, ex. ../folder1 things go wrong
this does work (from within root folder):
TortoiseProc.exe /command:commit /path:"folder1*folder1/
file1.txt*folder2*folder2/file2.txt" /logmsg:"msg"
this does not work (from within the scripts folder):
TortoiseProc.exe /command:commit /path:"../folder1*../folder1/
file1.txt*../folder2*../folder2/file2.txt" /logmsg:"msg"
so in your case, to reproduce, after *opened cmd.exe
* cd scripts
* TortoiseProc.exe /command:commit /path:"../folder1*../folder1/
file1.txt*../folder2*../folder2/file2.txt" /logmsg:"msg"
greetz,
Herman
On Aug 18, 5:55 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
> Herman wrote:
> > That fixed the problem, but now I seem to have another problem I
> > believe has to do with relative paths going 'up' in the folder tree. I
> > have been able to reproduce it with the following repository:
>
> > -root
> > -folder1
> > -file1.txt
> > -folder2
> > -file2.txt
> > -scripts
> > -a file that contains a script for checking in some files and
> > folders
>
> > the following does what I would expect it to do from within the root:
> > TortoiseProc.exe /command:commit /path:"folder1*folder1/
> > file1.txt*folder2*folder2/file2.txt" /logmsg:"msg"
>
> > when i run the following from within the 'scripts' folder, i only get
> > folder1 and file1.txt in my commit tialogue
> > TortoiseProc.exe /command:commit /path:"../folder1*../folder1/
> > file1.txt*../folder2*../folder2/file2.txt" /logmsg:"msg"
>
> > I can work around it by changing the working directory to the top
> > folder of my repository, but it would be nice to be able to use the
> > same scripts I was using with the previous TortoiseSVN
>
> Just tried this:
> * created your suggested folder/file structure
> * added it to a test repository
> * checked it out again
> * set a dummy property on all folders/files (so they
> are all marked as 'modified'
> * opened cmd.exe
> * cd d:\test\testwc\scripts
> * TortoiseProc.exe /command:commit
> /path:"folder1*folder1/file1.txt*folder2*folder2/file2.txt" /logmsg:"msg"
>
> worked ok: all files and folders are shown in the commit dialog.
>
> Are you sure that in your test case, folder2 and folder2/file2.txt are
> modified?
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> signature.asc
> < 1KViewDownload
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-18 22:16:29 CEST