0
Situation
I have a development project with the following repository structure:
root/ + core/ + branches/ + tags/ + trunk/ + module/ + branches/ + tags/ + trunk/
How can I commit core/trunk/
and module/trunk/
together in one TortoiseSVN commit dialog?
Limiting Factors / Notice
- Unfortunately -- don't ask ;) -- the working copy is not sparse i.e.
branches/
,tags/
have been checked out completely. They require quite a while to scan, if launching a TortoiseSVN operation from the context menu ofroot/
. - Although I favour atomic commits, commits sometimes require (in my opinion) a cross-directory commit.
- I want to launch it from e.g. a batch file (Press Win+R, type/select
myCommit.cmd
, Enter).
First steps
I already found out from StackOverflow: How to automate a commit in TortoiseSVN that TortoiseSVN might be called like that:
TortoiseProc.exe /command:commit /path:"A:\path\to\root"
- multiple
/path:
arguments are not accepted by TortoiseProc
tl;dr
(How) can I pass multiple paths to TortoiseProc.exe /command:abcd /path:"more\paths"
?
1
Also documented at http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html as:
– ssnobody – 2014-08-28T17:08:25.567Since some of the commands can take a list of target paths (e.g. committing several specific files) the /path parameter can take several paths, separated by a * character.
@ssnobody Oops, I have not spotted that on reading the documentation. (But maybe
*
just looks to much like a globbing wildcard when dealing with paths, doesn't it?) – fheub – 2014-08-29T10:13:57.473