Closed Bug 1111807 Opened 7 years ago Closed 6 years ago

hg pushtree is broken in tip

Categories

(Developer Services :: Mercurial: mozext, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Unassigned)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4233] )

I was using hgext tip... if this is not the right thing to do, please let me know.

hg pushtree -r. beta
[error messages spew snipped]
hgext\mozext\__init__.py line 499 in pushtree
  return push(ui, repo, rev=[rev], dest=uri)
TypeError: push() takes at least 3 arguments (2 given)

The declaration of push() is:
def push(orig, repo, remote, *args, **kwargs)

So then I tried altering push for 3 arguments:
  push(ui, repo, uri, rev=[rev])

This seems to pass something useful to push, but now "orig" is wrong. I think this is related to this commit of hgext, but I wasn't sure what to do next:

http://hg.mozilla.org/hgcustom/version-control-tools/diff/ede56cc14d43/hgext/mozext/__init__.py
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4233]
I'm going to remove `hg pushtree` from mozext. The firefoxtree extension supports `hg push <tree>` now.
hg pushtree has been removed from mozext. Please use `hg push <tree>` from firefox tree instead. See https://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/firefoxtree.html
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.