[PATCH] test-commit-multiple.t: improve committwice.py

Patrick Mézard pmezard at gmail.com
Wed Mar 23 17:36:24 CDT 2011


Le 23/03/11 23:05, Adrian Buehlmann a écrit :
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1300917520 -3600
> # Node ID ebbbeb3b4d40c9e74240aa1b75ca12ce920e4798
> # Parent  2d53cefb44e3cc8c9d4bedc95894ae173d7b7773
> test-commit-multiple.t: improve committwice.py
> 
> - fix bug in replacebyte: parameter fn wasn't used (no harm done)
> - remove unneeded matcher
> - remove unused local n
> - increase test coverage a bit with a second file and some sleeping
> - show files changed in revisions
> - move print statements out of racy path to make sure it's as racy as possible

In crew: http://hg.intevation.org/mercurial/crew/rev/8bb03283e9b9

Thanks!

--
Patrick Mézard


More information about the Mercurial-devel mailing list