This is an archive of the discontinued Mercurial Phabricator instance.

subrepo: use repo['.'] instead of repo['']
ClosedPublic

Authored by martinvonz on Apr 2 2018, 1:15 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Apr 2 2018, 1:15 PM
pulkit accepted this revision.Apr 2 2018, 2:29 PM
This revision was automatically updated to reflect the committed changes.