1. python_mirrors
  2. hgsubversion

Commits

Georg Brandl  committed 8f3cd69

Require a space before "#" starting non-full-line comments in tagmap.

  • Participants
  • Parent commits 19fc405
  • Branches pymigr

Comments (0)

Files changed (1)

File hgsubversion/maps.py

View file
             if writing:
                 writing.write(line)
 
-            line = line.split('#')[0]
+            if line.startswith('#'):
+                continue
+            line = line.split(' #')[0]
             if not line.strip():
                 continue