Ah nevermind that's a bash file issue solved with ||.

Thanks for all your help!

On Monday, June 18, 2018 at 5:12:49 PM UTC-4, Carson Wood wrote:
>
> Got it thanks. I have it working now if you, using TortSVN, right click 
> SVN Commit on the root directory. However, if you go and try to commit and 
> individual file within the directory I'm still getting the same error. 
>
> I think this is due to the batch script being ran is assuming it's already 
> in the root directory but if you are committing an individual file it will 
> be in a different directory...and the batch file itself is doing a cd to 
> run a grunt task
>
> cd mow\client && grunt precommit
>
> I guess is there a way to run the hook script from the root ? Do the hook 
> scripts run from the root or do they run from the directory where the 
> commit etc was called? 
>
> On Monday, June 18, 2018 at 4:30:50 PM UTC-4, Stefan wrote:
>>
>>
>>
>> On Monday, June 18, 2018 at 10:16:56 PM UTC+2, Carson Wood wrote:
>>>
>>> Thanks for the help, I may be misunderstanding but is %REPOROOT% going 
>>> to be the svn repository for my team or is it going to be my local working 
>>> copy? I haven't committed the batch files or hook script files yet, they've 
>>> just been in my working directory as I don't want to mess up the entire 
>>> teams work while working on this. I thought %REPOROOT% would be the trunk 
>>> of my local working directory.
>>>
>>
>> No, %REPOROOT% refers to the path your working copy would be at if 
>> checked out from the root. But usually a checkout is done from /trunk.
>>
>> e.g. 
>> C:\dev\mywc checked out from /trunk
>> --> %REPOROOT% refers to C:\dev
>> --> %REPOROOT+% refers to C:\dev\mywc
>>
>> Stefan
>>
>>

-- 
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/c1551b6a-ff76-4838-89e2-b77da8518f0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Why can't... tortoisesvn+APn2wQfR1CrFbLzUlu0pkCQyQPC5o3do4pHZINYkD-Aob51SI8u8
    • Re: ... Stefan via TortoiseSVN
      • ... Carson Wood via TortoiseSVN
        • ... Stefan via TortoiseSVN
          • ... Carson Wood via TortoiseSVN
            • ... Carson Wood via TortoiseSVN
    • Re: ... tortoisesvn+APn2wQe4DwK8akPR2kwaIqiOzNSYlSoD75Z4id9zbtr4pWRejP1e
      • ... Stefan via TortoiseSVN
        • ... aschipfl via TortoiseSVN
          • ... Stefan via TortoiseSVN

Reply via email to