Mercurial > hgsubversion
view hgsubversion/layouts/single.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 | 513f2b607b06 |
children | 7bbe120be193 |
line wrap: on
line source
import base class SingleLayout(base.BaseLayout): """A layout with only the default branch""" def localname(self, path): return None def remotename(self, branch): return '' def remotepath(self, branch, subdir='/'): return subdir or '/' def taglocations(self, metapath): return [] def get_path_tag(self, path, taglocations): return None def split_remote_name(self, path, known_branches): return '', path