Hi,

To learn more about Monotone internals, I implemented the "list duplicates"
command from the QuickieTasks wiki page.

It is not optimized for speed, but should work as expected.
I also included a few tests and a section for the manual.

The patch is attached and also available at
http://iki.fi/tero.koskinen/monotone/monotone_list_duplicates_v1.diff

Example output below:
$ ./mtn ls duplicates
003d966645cd3b96511ccd2c394dc01998da180c 
tests/merging_data_in_unrelated_files/left
003d966645cd3b96511ccd2c394dc01998da180c 
tests/merging_data_in_unrelated_revisions/left
02b878566b25626ea34f713410de7be144b5b8a2 tests/test_a_merge_6/correct
02b878566b25626ea34f713410de7be144b5b8a2 tests/test_a_merge_6/left
...
$

-- 
Tero Koskinen <[EMAIL PROTECTED]>

Attachment: monotone_list_duplicates_v1.diff
Description: Binary data

_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to