comparison silvermirror/hg.py @ 34:f0b30886801f

STUB: silvermirror/hg.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 31 Jan 2014 23:25:46 -0800
parents d5e0bce5e411
children 52937c25edf0
comparison
equal deleted inserted replaced
33:d5e0bce5e411 34:f0b30886801f
22 get changes from host on path 22 get changes from host on path
23 """ 23 """
24 try: 24 try:
25 repo = hglib.open(path) 25 repo = hglib.open(path)
26 print ('Updating {}:'.format(path)) 26 print ('Updating {}:'.format(path))
27 repo.pull(host, update=True, insecure=True) 27 repo.pull(source, update=True, insecure=True)
28 except ServerError: 28 except ServerError:
29 print ('Cloning {} -> {}'.format(source, path)) 29 print ('Cloning {} -> {}'.format(source, path))
30 repo = hglib.clone(source, path) 30 repo = hglib.clone(source, path)
31 31
32 32