Mercurial > hg > mercurial-source
diff mercurial/subrepo.py @ 38052:32857300846c
subrepo: use repo['.'] instead of repo['']
The "state" value (a revision) passed to abstractsubrepo.phase() can
be '' to represent the currently checked out revisions. Let's convert
that to the more common '.'.
I think this is the last of use of repo['.'] in core.
Differential Revision: https://phab.mercurial-scm.org/D3019
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 02 Apr 2018 08:43:08 -0700 (2018-04-02) |
parents | 0348c778bf70 |
children | 14cd5290c4e6 |
line wrap: on
line diff