On Wednesday, October 23, 2019 at 9:38:05 PM UTC+2, aschipfl wrote: > > > (Just to make sure I don't misunderstand %REPOROOT+%: this should find > any missing top-level folders between the WC root and the remaining > relative path, right? > So in the above example, specifying %REPOROOT+%/script.bat should be > enough to find the script, correct? > Do I have to skip at least one top-level folder (like /hooks here), or > should %REPOROOT+%/hooks/script.bat also find the script?) >
Not quite: while the "+" might indicate that folders are inserted and tried, that's not how this works. Maybe I should have used *-" instead :) What this does is to use the specified URL-part and try to append that to the current URL of the working copy root, then remove parts of that working copy URL and append the specified URL-part again until the script is found. So for example if you specify %REPOROOT+%/hooks/script.bat and your working copy is at /trunk the script is found normally. But if you switch your working copy to e.g. branches/mybranch, the "+" indicates that both branches/mybranch and branches are tried to find the script. -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/810ecc35-2c20-479c-9546-a96fc9b31990%40googlegroups.com.
