Mercurial > hgsubversion
diff hgsubversion/layouts/custom.py @ 1311:f5df4bb6f330
layouts: add a name property to custom
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:55 -0500 |
parents | 7bbe120be193 |
children | 118e6d31b5fc |
line wrap: on
line diff
--- a/hgsubversion/layouts/custom.py +++ b/hgsubversion/layouts/custom.py @@ -38,6 +38,10 @@ class CustomLayout(base.BaseLayout): self.svn_to_hg[svn_path] = hg_branch self.hg_to_svn[hg_branch] = svn_path + @property + def name(self): + return 'custom' + def localname(self, path): if path in self.svn_to_hg: return self.svn_to_hg[path]