On Wed, Feb 24, 2016 at 10:42 AM, David R. MacIver <david at drmaciver.com> wrote: > + @property > + def currentrepo(self): > + return os.path.basename(os.getcwd()) Just FYI, if you later add rules for changing directory withing a clone, you'll want to run "hg root" here.