Mercurial > hgsubversion
changeset 1271:a1039f8e57d4
layouts: turn trunk into a property for standard
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:50 -0500 |
parents | 04ead6e0b9de |
children | 38c154371240 |
files | hgsubversion/layouts/standard.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/layouts/standard.py +++ b/hgsubversion/layouts/standard.py @@ -22,6 +22,10 @@ class StandardLayout(base.BaseLayout): self._trunk = 'trunk%s' % self._infix + @property + def trunk(self): + return 'trunk' + self._infix + def localname(self, path): if path == self._trunk: return None