view tests/test-check-code.out @ 11322:3d6915f5a2bb

improve --branch processing (and differentiate from # syntax) Previously #foo and --branch foo were handled identically. The behavior of #foo hasn't changed, but --branch now works like this: 1) If branchmap is not supported on the remote, the operation fails. 2) If branch is '.', substitute with branch of the working dir parent. 3) If branch exists remotely, its heads are expanded. 4) Otherwise, the operation fails. Tests have been added for the new cases.
author Sune Foldager <cryo@cyanite.org>
date Thu, 10 Jun 2010 12:46:09 +0200
parents 62b8f15683f2
children 920a783e5f91
line wrap: on
line source

./wrong.py:1:
 > def toto( arg1, arg2):
 gratuitous whitespace in () or []
./wrong.py:2:
 >     del(arg2)
 del isn't a function
./wrong.py:3:
 >     return ( 5+6, 9)
 missing whitespace in expression
 gratuitous whitespace in () or []
./quote.py:5:
 > '"""', 42+1, """and
 missing whitespace in expression