[PATCH] RFC cvsps: use commitids (when present) to detect changesets
Greg Ward
greg at gerg.ca
Tue Jan 15 19:40:46 UTC 2013
On 14 January 2013, Frank A. Kingswood said:
> To make regression tests pass I have duplicated test-convert-cvs.t,
> one running with cvs 1.12 and the other only on older ones. The
> other tests that differed are now run for 1.12 only.
That shouldn't be necessary now that Mercurial's test framework
supports fuzzy output matching. E.g. here's an example from
test-convert-bzr-directories.t that accomodates different output from
different versions of bzr:
$ bzr add a
add(ed|ing) a (re)
That trailing " (re)" is the required magic; it means the rest of the
line is a regex, not a literal string to match exactly.
Greg
--
Greg Ward http://www.gerg.ca
<greg at gerg.ca> @gergdotca
More information about the Mercurial-devel
mailing list