Changeset 1098 in tailor


Ignore:
Timestamp:
04/28/06 03:10:25 (7 years ago)
Author:
Vincent Danjean <vdanjean.ml@…>
Hash name:
20060428011025-b1601-df121ba0570f0d6eb18b89e0ce778106dffafaba
Message:

Use repo.ui, not _getUI()
The ui from self._getUI() does not include the option from the
.hg/hgrc repository file (only options from global hgrc files).
So default patch were not found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/hglib.py

    r1097 r1098  
    6565    def _getUpstreamChangesets(self, sincerev): 
    6666        """Fetch new changesets from the source""" 
    67         ui = self._getUI() 
    68         repo = self._getRepo() 
    69  
    70         commands.pull(ui, repo, "default", ssh=None, remotecmd=None, update=None, rev=None) 
     67        repo = self._getRepo() 
     68 
     69        commands.pull(repo.ui, repo, "default", ssh=None, remotecmd=None, update=None, rev=None) 
    7170 
    7271        from mercurial.node import bin 
     
    257256        except KeyError: 
    258257            pass 
    259         commands.tag(self._getUI(), repo, tag, **opts) 
     258        commands.tag(repo.ui, repo, tag, **opts) 
    260259 
    261260    def _defaultOpts(self, cmd): 
Note: See TracChangeset for help on using the changeset viewer.