Mercurial adapter improvements (patch #1199 by Pierre Paysant-Le Roux).
Authored by: jplang 2008-06-07
Parent: [r1498]
Child: [r1500]