sapling/edenscm/hgext/convert
Stefan Filip 5d1f390ca0 manifest: remove the clean argument from diff
Summary:
The diff algorithm takes the `clean` flag. When `clean` is used all the files
that are not changed between the two manifests are returned. In short the set
of files is equal to |files(M1) U files(M2)|.

This functionality would have to be implemented in the Rust manifest. I don't
feel that a flag on the diff algorithm should be used in this case. First, I
don't like how it interacts with the core diff algorithm, it changes it to the
point where it feel like it should be a different function. Second is that this
behavior can be achieved by getting all the files in the manifest and removing
the items in the diff. Third is that this operation is done quite rarely, being
so expensive.

The downside is that the places where this flag is used get a bit more
expensive.

Reviewed By: quark-zju

Differential Revision: D16496136

fbshipit-source-id: 205dcc23517b896de5c14634683bcbd5f2aa6666
2019-07-31 10:06:47 -07:00
..
__init__.py subrepo: remove subrepo support 2019-03-11 10:43:55 -07:00
bzr.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
common.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
convcmd.py convert: drop cvs support 2019-02-22 21:02:41 -08:00
darcs.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
filemap.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
git.py subrepo: remove subrepo support 2019-03-11 10:43:55 -07:00
gnuarch.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
hg.py manifest: remove the clean argument from diff 2019-07-31 10:06:47 -07:00
p4.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00
subversion.py codemod: replace os.fdopen with util.fdopen 2019-06-27 13:10:20 -07:00
transport.py codemod: import from the edenscm package 2019-01-29 17:25:32 -08:00