Changeset 1193 in tailor for vcpx/repository/hg.py


Ignore:
Timestamp:
06/29/06 10:51:40 (7 years ago)
Author:
Andrea Arcangeli <andrea@…>
Hash name:
20060629085140-c1b80-8144b0dbe9f54859941fd4c149402ec080ecbf71
Message:

Replace dashes with underscores in the hg command names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository/hg.py

    r1179 r1193  
    303303        # Not sure this is public. commands.parse might be, but this 
    304304        # is easier, and while dispatch is easiest, you lose ui. 
    305         return dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]]) 
     305        return dict([(f[1].replace('-', '_'), f[2]) for f in commands.find(cmd)[1][1]]) 
    306306 
    307307    def _hgCommand(self, cmd, *args, **opts): 
Note: See TracChangeset for help on using the changeset viewer.