Comments
Patch
@@ -391,7 +391,9 @@ def _debugobshistorydisplaynode(fm, repo
_debugobshistorydisplaymissingctx(fm, node)
def _debugobshistorydisplayctx(fm, ctx):
- shortdescription = ctx.description().splitlines()[0]
+ shortdescription = ctx.description().strip()
+ if shortdescription:
+ shortdescription = shortdescription.splitlines()[0]
fm.startitem()
fm.write('node', '%s', str(ctx),
@@ -16,6 +16,20 @@ Global setup
> evolution.effect-flags = yes
> EOF
+Test simple common cases
+========================
+
+Test setup
+----------
+ $ hg init $TESTTMP/simple
+ $ cd $TESTTMP/simple
+
+Actual test
+-----------
+ $ hg obslog -ap null
+ @ 000000000000 (-1)
+
+
Test output on amended commit
=============================