store: add 'com0' and 'lpt0' doctest cases for _auxencode()
These are already covered by test-hybridencode.py, but they are so noteworthy
that I think they deserve being shown right in that doctest.
--- a/mercurial/store.py Sat Sep 15 08:38:02 2012 +0200
+++ b/mercurial/store.py Sat Sep 15 21:41:45 2012 +0200
@@ -132,8 +132,8 @@
>>> _auxencode('.foo/aux.txt/txt.aux/con/prn/nul/foo.', True)
'~2efoo/au~78.txt/txt.aux/co~6e/pr~6e/nu~6c/foo~2e'
- >>> _auxencode('.com1com2/lpt9.lpt4.lpt1/conprn/foo.', False)
- '.com1com2/lp~749.lpt4.lpt1/conprn/foo~2e'
+ >>> _auxencode('.com1com2/lpt9.lpt4.lpt1/conprn/com0/lpt0/foo.', False)
+ '.com1com2/lp~749.lpt4.lpt1/conprn/com0/lpt0/foo~2e'
>>> _auxencode('foo. ', True)
'foo.~20'
>>> _auxencode(' .foo', True)