Mercurial > hgsubversion
diff hgsubversion/layouts/standard.py @ 1153:c3c4518e00aa
svnmeta: rename meta_data_dir to metapath
This is part of a cleanup throughout hgsubversion to unify the codebase with
similar variable names and style.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Sun, 16 Feb 2014 16:32:00 -0600 |
parents | 063cae4e35af |
children | 4744b7bfa476 |
line wrap: on
line diff
--- a/hgsubversion/layouts/standard.py +++ b/hgsubversion/layouts/standard.py @@ -54,7 +54,7 @@ class StandardLayout(base.BaseLayout): return '%s/%s' % (subdir or '', branchpath) - def taglocations(self, meta_data_dir): + def taglocations(self, metapath): # import late to avoid trouble when running the test suite try: # newer versions of mercurial >= 2.8 will import this because the @@ -65,7 +65,7 @@ class StandardLayout(base.BaseLayout): if self._tag_locations is None: - tag_locations_file = os.path.join(meta_data_dir, 'tag_locations') + tag_locations_file = os.path.join(metapath, 'tag_locations') self._tag_locations = util.load(tag_locations_file) if not self._tag_locations: