# HG changeset patch # User Sean Farley # Date 1395678050 18000 # Node ID a1039f8e57d41bd933e55d42d051c56b51655f91 # Parent 04ead6e0b9de45369f76752d28097c5d83c1990e layouts: turn trunk into a property for standard diff --git a/hgsubversion/layouts/standard.py b/hgsubversion/layouts/standard.py --- 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