Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 13 years ago

#4215 closed defect (fixed)

Patch for mercurial plugin to work with most recent mercurial code

Reported by: Shun-ichi Goto <shunichi.goto@…> Owned by: Christian Boos
Priority: normal Milestone: plugin - mercurial
Component: version control Version: 0.10.2
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Mercurial plugin does not work with most recent code of mercurial (chgset:731e739b8659 at 2006-11-15 in crew). Thiis is because the function walkchangerevs is moved to cmdutil module from commands module. Here is a sample patch:

  • backend.py

     
    3030    from mercurial.repo import RepoError
    3131    from mercurial.node import hex, short, nullid
    3232    from mercurial.util import pathto
    33     from mercurial.commands import walkchangerevs
     33    try:
     34        # for most recent version (chgset:731e739b8659 at 2006-11-15)
     35        from mercurial.cmdutil import walkchangerevs
     36    except ImportError:
     37        # for older version
     38        from mercurial.commands import walkchangerevs
    3439    has_mercurial = True
    3540except ImportError:
    3641    has_mercurial = False

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 18 years ago

Status: newassigned

Great, I'll apply the patch asap, thank you!

comment:2 by Christian Boos, 18 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by Christian Boos, 18 years ago

(I meant r4320, of course)

comment:4 by Christian Boos, 13 years ago

Milestone: plugin - mercurial

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.