##// END OF EJS Templates
setup: make debug simpler by adding a `__repr__` to `hgcommand`...
marmoute -
r52053:3c5b66d0 default
parent child Browse files
Show More
@@ -221,6 +221,9 b' class hgcommand:'
221 self.cmd = cmd
221 self.cmd = cmd
222 self.env = env
222 self.env = env
223
223
224 def __repr__(self):
225 return f"<hgcommand cmd={self.cmd} env={self.env}>"
226
224 def run(self, args):
227 def run(self, args):
225 cmd = self.cmd + args
228 cmd = self.cmd + args
226 returncode, out, err = runcmd(cmd, self.env)
229 returncode, out, err = runcmd(cmd, self.env)
@@ -1821,5 +1824,5 b' setup('
1821 'welcome': 'contrib/packaging/macosx/Welcome.html',
1824 'welcome': 'contrib/packaging/macosx/Welcome.html',
1822 },
1825 },
1823 },
1826 },
1824 **extra
1827 **extra,
1825 )
1828 )
General Comments 0
You need to be logged in to leave comments. Login now