On Tue, Feb 19, 2019 at 1:08 PM Scott Bloom <sc...@towel42.com> wrote:

> Unfortunately %P still includes branch directories….
>
> <http://markphip.blogspot.com/>
>
>
Yes, it is repository relative. That is the best you are going to get out
of Subversion.

Subversion does not really have branches or tags.  It has paths (folders
and files). Branches and tags are just a convention of how you use those
paths.  Even defining a syntax to lop off some part of the %P would be
pretty difficult when you consider you might have "root" paths of all
different depths:

/trunk
/branches/1.8.x
/branches/releases/1.8.x
/branches/features/joe/feature-1
/tags/release/1.8.9
/tags/1.8.9

etc.

Short of some major change in SVN to let you mark the root of your tree
there probably will not ever be a way to do any better than what %P gives
you.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Reply via email to