changeset 1261:51f88d3aa4dd

svnmeta: add a layout_file property
author Sean Farley <sean.michael.farley@gmail.com>
date Mon, 24 Mar 2014 11:20:49 -0500
parents 7993379b9956
children 199933008ab5
files hgsubversion/svnmeta.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
@@ -137,6 +137,10 @@ class SVNMeta(object):
                                                          filename))
         setattr(SVNMeta, name, prop)
 
+    @property
+    def layout_file(self):
+        return os.path.join(self.metapath, 'layout')
+
     @property
     def layout(self):
         # this method can't determine the layout, but it needs to be