issue2088: questions about subrepo implementation

David Wolever wolever.lists at gmail.com
Tue May 11 11:00:22 CDT 2010


On 11-May-10, at 11:30 AM, Matt Mackall wrote:
> Here's where you run into a problem. Subrepos currently have no notion
> of a context, because not all subrepos are Mercurial repos. We  
> currently
> ship an SVN implementation and there's a git implementation in the
> works.
Ah, makes sense.

> So this would need a subrepo method implemented on each type to get
> lists of files and individual file contents for all files in a given
> revision. And in the hg case, it'd have to be able to recurse further.
If I was to naively assume that a "list files and their content at a  
particular revision" isn't too hard to implement, would it be  
desirable (ie, "would such a patch be accepted")?


More information about the Mercurial-devel mailing list