##// END OF EJS Templates
subrepo: add argument to "diff()" to pass "ui" of caller side (issue3712) (API)...
subrepo: add argument to "diff()" to pass "ui" of caller side (issue3712) (API) Color extension achieves colorization by overriding the class of "ui" object just before command execution. Before this patch, "diff()" of abstractsubrepo and classes derived from it has no "ui" argument, so "diff()" of hgsubrepo uses "self._repo.ui" to invoke "cmdutil.diffordiffstat()". For separation of configuration between repositories, revision 573bec4ab7ba changed the initialization source of "self._repo.ui" from "ui"(overridden) to "baseui"(plain) of parent repository. And this caused break of colorization. This patch adds "ui" argument to "diff()" of abstractsubrepo and classes derived from it to pass "ui" object of caller side.

File last commit:

r16217:df5ecb81 default
r18006:0c10cf81 2.4.1 stable
Show More
README
20 lines | 547 B | text/plain | TextLexer
Martin Geisler
README: add small introduction
r12857 Mercurial
=========
Mercurial is a fast, easy to use, distributed revision control tool
for software developers.
Matt Mackall
Move README info to wiki
r3935 Basic install:
mpm@selenic.com
Add back links from file revisions to changeset revisions...
r0
Matt Mackall
Move README info to wiki
r3935 $ make # see install targets
$ make install # do a system-wide install
$ hg debuginstall # sanity-check setup
$ hg # see help
mpm@selenic.com
README: integrate some changes from Kevin Smith...
r205
Ross Lagerwall
readme: mention how to run in-place...
r16217 Running without installing:
$ make local # build for inplace usage
$ ./hg --version # should show the latest version
Dirkjan Ochtman
change wiki/bts URLs to point to new hostname
r8936 See http://mercurial.selenic.com/ for detailed installation
Matt Mackall
Move README info to wiki
r3935 instructions, platform-specific notes, and Mercurial user information.