# HG changeset patch # User Matt Harbison # Date 2015-02-15 22:29:10 # Node ID 2cc8ee4c4e1c0b8bcd113857f40bd44c89595b04 # Parent e0f06228bb666c3950b5a1397e0db4cd50feb15a subrepo: return only the manifest keys from hgsubrepo.files() This is in line with the other subrepo classes (i.e. only the filenames are returned). Archive iterates over the manifest keys, and since subrepo archive() uses this method, it does too now. This will allow largefiles to override its manifest keys to present the largefiles instead of the standins. Once in place, we shouldn't need the copy/paste overrides of archive and subrepo archive in largefiles, that don't quite behave like the core methods they are overriding. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -836,7 +836,7 @@ class hgsubrepo(abstractsubrepo): def files(self): rev = self._state[1] ctx = self._repo[rev] - return ctx.manifest() + return ctx.manifest().keys() def filedata(self, name): rev = self._state[1]