equal
deleted
inserted
replaced
1555 """show the tip revision""" |
1555 """show the tip revision""" |
1556 n = repo.changelog.tip() |
1556 n = repo.changelog.tip() |
1557 show_changeset(ui, repo, changenode=n) |
1557 show_changeset(ui, repo, changenode=n) |
1558 |
1558 |
1559 def unbundle(ui, repo, fname): |
1559 def unbundle(ui, repo, fname): |
|
1560 """apply a changegroup file""" |
1560 f = urllib.urlopen(fname) |
1561 f = urllib.urlopen(fname) |
1561 |
1562 |
1562 if f.read(4) != "HG10": |
1563 if f.read(4) != "HG10": |
1563 ui.warn("abort: not a Mercurial bundle file!\n") |
1564 ui.warn("abort: not a Mercurial bundle file!\n") |
1564 return -1 |
1565 return -1 |