--- a/hgext/record.py Fri Oct 14 09:52:38 2016 +0200
+++ b/hgext/record.py Wed Oct 12 12:22:54 2016 +0200
@@ -70,7 +70,7 @@
backup = ui.backupconfig('experimental', 'crecord')
try:
ui.setconfig('experimental', 'crecord', False, 'record')
- commands.commit(ui, repo, *pats, **opts)
+ return commands.commit(ui, repo, *pats, **opts)
finally:
ui.restoreconfig(backup)
--- a/tests/test-record.t Fri Oct 14 09:52:38 2016 +0200
+++ b/tests/test-record.t Wed Oct 12 12:22:54 2016 +0200
@@ -77,6 +77,7 @@
examine changes to 'empty-rw'? [Ynesfdaq?] n
no changes to record
+ [1]
$ hg tip -p
changeset: -1:000000000000