hgext/largefiles/storefactory.py
changeset 41365 876494fd967d
parent 36310 ea62c2df882d
child 43076 2372284d9457
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
    41         if repo is None:
    41         if repo is None:
    42             path = ui.expandpath('default')
    42             path = ui.expandpath('default')
    43             path, _branches = hg.parseurl(path)
    43             path, _branches = hg.parseurl(path)
    44             remote = hg.peer(repo or ui, {}, path)
    44             remote = hg.peer(repo or ui, {}, path)
    45         elif path == 'default-push' or path == 'default':
    45         elif path == 'default-push' or path == 'default':
    46             path = ''
       
    47             remote = repo
    46             remote = repo
    48         else:
    47         else:
    49             path, _branches = hg.parseurl(path)
    48             path, _branches = hg.parseurl(path)
    50             remote = hg.peer(repo or ui, {}, path)
    49             remote = hg.peer(repo or ui, {}, path)
    51 
    50