Fix .hgignore parsing if last line has no EOL, ignore trailing white space.
(and don't use tabs in python code)
+ hg clone a b
abort: repository a/.hg not found!
255
+ hg clone http://127.0.0.1:3121/a b
requesting all changes
abort: error: Connection refused
255
+ hg clone a b
abort: repository a/.hg not found!
255
+ hg init
+ hg clone . ../a
abort: destination '../a' already exists
1
+ hg clone a b
abort: repository a/.hg not found!
255
+ hg init
+ hg clone q
abort: destination 'q' already exists