Mercurial > hgsubversion
comparison hgsubversion/svnmeta.py @ 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 | b7b0ed1e1455 |
children | 54cf64e9ef49 |
comparison
equal
deleted
inserted
replaced
1260:7993379b9956 | 1261:51f88d3aa4dd |
---|---|
134 default), | 134 default), |
135 lambda x, y: x._set_cachedconfig(y, | 135 lambda x, y: x._set_cachedconfig(y, |
136 name, | 136 name, |
137 filename)) | 137 filename)) |
138 setattr(SVNMeta, name, prop) | 138 setattr(SVNMeta, name, prop) |
139 | |
140 @property | |
141 def layout_file(self): | |
142 return os.path.join(self.metapath, 'layout') | |
139 | 143 |
140 @property | 144 @property |
141 def layout(self): | 145 def layout(self): |
142 # this method can't determine the layout, but it needs to be | 146 # this method can't determine the layout, but it needs to be |
143 # resolved into something other than auto before this ever | 147 # resolved into something other than auto before this ever |