Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

p4pending: explicitly enable perfarce extension

If perfarce is enabled in the repository's hgrc file, it would not be enabled
because this command runs with zero knowledge of any Mercurial repository. So
we explicitly enable the extension in the command line.

Changeset 96238a9723f7

Parent 578dfbf0b053

by Steve Borho

Changes to one file · Browse files at 96238a9723f7 Showing diff from parent 578dfbf0b053 Diff from another changeset...

 
84
85
86
87
88
 
 
 
 
89
90
91
 
94
95
96
97
98
 
 
 
 
99
100
101
 
84
85
86
 
 
87
88
89
90
91
92
93
 
96
97
98
 
 
99
100
101
102
103
104
105
@@ -84,8 +84,10 @@
    def submit(self):   assert(self.curcl.endswith('(pending)')) - cmdline = ['p4submit', '--verbose', '--repository', - self.url, self.curcl[:-10]] + cmdline = ['p4submit', '--verbose', + '--config', 'extensions.perfarce=', + '--repository', self.url, + self.curcl[:-10]]   self.repo.incrementBusyCount()   self.bb.button(QDialogButtonBox.Ok).setEnabled(False)   self.bb.button(QDialogButtonBox.Discard).setEnabled(False) @@ -94,8 +96,10 @@
    def revert(self):   assert(self.curcl.endswith('(pending)')) - cmdline = ['p4revert', '--verbose', '--repository', - self.url, self.curcl[:-10]] + cmdline = ['p4revert', '--verbose', + '--config', 'extensions.perfarce=', + '--repository', self.url, + self.curcl[:-10]]   self.repo.incrementBusyCount()   self.bb.button(QDialogButtonBox.Ok).setEnabled(False)   self.bb.button(QDialogButtonBox.Discard).setEnabled(False)