view tests/test-mq-qgoto.out @ 8281:3e1e499db9d7

util: initialize md5 and sha1 without using extra global variables This lets the functions skip the "if _sha1 is None" test on each call.
author Martin Geisler <mg@lazybytes.net>
date Sun, 03 May 2009 00:03:35 +0200
parents fb32ae9c76e7
children 561ff8d9e4f0
line wrap: on
line source

adding a
now at: a.patch
applying b.patch
applying c.patch
now at: c.patch
now at: b.patch

% Using index
now at: a.patch
applying b.patch
applying c.patch
now at: c.patch

% No warnings when using index
now at: b.patch
applying c.patch
applying bug314159
now at: bug314159

% Detect ambiguous non-index
patch name "14" is ambiguous:
  bug314159
  bug141421
abort: patch 14 not in series