Submitter | Pierre-Yves David |
---|---|
Date | Jan. 7, 2013, 6:16 p.m. |
Message ID | <a4e22afc0e485f19d5da.1357582570@crater2.logilab.fr> |
Download | mbox | patch |
Permalink | /patch/486/ |
State | Accepted |
Commit | e4be4e2ac8144520a6a9c8fa79cdbe6fed5e5538 |
Headers | show |
Comments
Patch
diff --git a/mercurial/discovery.py b/mercurial/discovery.py --- a/mercurial/discovery.py +++ b/mercurial/discovery.py @@ -335,9 +335,5 @@ def checkheads(repo, remote, outgoing, r raise util.Abort(error, hint=hint) # 6. Check for unsynced changes on involved branches. if unsynced: repo.ui.warn(_("note: unsynced remote changes!\n")) - -def visibleheads(repo): - """return the set of visible head of this repo""" - return repo.filtered('unserved').heads()