Closed theKBro closed 5 years ago
This isn't supported but I agree it should be. For negative numbers, -1 will be the rightmost element (since -0 is already taken), -2 the second rightmost, etc. I'll implement this today and let you know when you can update.
Done, please test version 4.3.0 and let me know if you notice any issue.
As per the documentation:
Tag arguments X and Y for paths can also be negative numbers, in which case the corresponding path element or range will be resolved backwards, starting from -1 = last path element, -2 = second-to-last path element, etc.
Works like a charm!
Is there any way to "reverse" the index for svnDirectoryName? We have multiple projects located in one svn server so we have something like
/prog1/branches/
/framework/prog2/branches/
and im only interested in the branch name. Like it is now i cannot set global settings. Maybe something like [svnDirectoryName:-1]?