# HG changeset patch # User James Bergstra # Date 1213110142 14400 # Node ID 675d92789941d5510dca75b824bf80d264491c1a # Parent 57c45df381f1cfc9edd61a0a0c40b5c69e72b201 debugging source-version function diff -r 57c45df381f1 -r 675d92789941 __init__.py --- a/__init__.py Tue Jun 10 11:01:00 2008 -0400 +++ b/__init__.py Tue Jun 10 11:02:22 2008 -0400 @@ -51,7 +51,7 @@ assert len(tokens) >= 1 assert tokens[0][-1] != '+' # the trailing + indicates uncommitted changes if len(tokens) == 2: - assert tokens[1] == 'tip' + assert tokens[1] == 'tip\n' return tokens[0]