Mercurial > hg
comparison mercurial/ignore.py @ 22964:2793ecb1522d
manifest: repurpose flagsdiff() into (node-and-flag)diff()
The manifestdict class already has a method for diff flags between two
manifests (presumably because there is no full access to the private
_flags field). The only caller is merge.manifestmerge(), which also
wants a diff of files between the same manifests. Let's combine the
code for diffing files and flags into a single method on
manifestdict. This puts all the manifest diffing in one place and will
allow for further simplification. It might also be useful for it to be
encapsulated in manifestdict if we later decide to to shard
manifests. The docstring is intentionally unclear about missing
entries for now.
author | Martin von Zweigbergk <martinvonz@gmail.com> |
---|---|
date | Tue, 14 Oct 2014 17:09:16 -0700 |
parents | 0127366df8fe |
children | 8cf7f0c4cb14 |
comparison
equal
deleted
inserted
replaced
22963:56e04741bbf1 | 22964:2793ecb1522d |
---|