plugin mr mercurial: limit export to ancestors of working directory parent
This commit is contained in:
parent
b6d57c0495
commit
b79a06e488
1 changed files with 4 additions and 2 deletions
|
|
@ -86,8 +86,10 @@ class MercurialHandler(object):
|
||||||
return d
|
return d
|
||||||
|
|
||||||
def export(self, repository):
|
def export(self, repository):
|
||||||
d = MercurialProtocol.run(repository, 'export', '-g', '-r', 'outgoing()',
|
d = MercurialProtocol.run(
|
||||||
'--encoding=utf-8')
|
repository, 'export', '-g', '-r', 'outgoing() and ancestors(.)',
|
||||||
|
'--encoding=utf-8'
|
||||||
|
)
|
||||||
d.addCallback(lambda data: data.decode('utf-8'))
|
d.addCallback(lambda data: data.decode('utf-8'))
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue