grim/local-pipelines

a1793fcfad54
Parents 8090c3352cd3
Children 25fff1c9e141
vcs: add owner property to hg backend
--- a/pipelines/vcs.py Thu Jul 28 01:00:30 2016 -0700
+++ b/pipelines/vcs.py Thu Jul 28 01:00:54 2016 -0700
@@ -88,6 +88,10 @@
return run_command('hg paths default',
self._path).split('/')[-2:]
+ @property
+ def owner(self):
+ return self._owner_repo[0]
+
class repo(object):
def __init__(self, search_path):