changeset 1158:770ac6de58c5

svnmeta: add tagfile property for use with the Tags object This allows us to have one place for defining the name of this file.
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 21 Feb 2014 17:02:45 -0600
parents c2b72618645a
children d62c53c7a37d
files hgsubversion/svnmeta.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -162,6 +162,11 @@ class SVNMeta(object):
     def branchmapfile(self):
         return os.path.join(self.metapath, 'branchmap')
 
+    @property
+    def tagfile(self):
+        # called tagmap for backwards compatibility
+        return os.path.join(self.metapath, 'tagmap')
+
     @property
     def tagmapfile(self):
         # called tag-renames for backwards compatibility