Skip to content
Snippets Groups Projects
Commit b8c2dc36 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

tests: demonstrate broken `hg convert` if "ffffffffffff" is in description

Differential Revision: https://phab.mercurial-scm.org/D6213
parent f46c1a9b
No related merge requests found
......@@ -214,5 +214,7 @@
$ hg ci -Aqm initial
$ echo b > b
$ hg ci -Aqm 'the previous commit was 1451231c8757'
$ echo c > c
$ hg ci -Aqm 'the working copy is called ffffffffffff'
$ cd ..
......@@ -217,3 +219,4 @@
$ cd ..
BROKEN: crashes when the "ffffffffffff" is encountered
$ hg convert commit-references new-commit-references -q \
......@@ -219,5 +222,6 @@
$ hg convert commit-references new-commit-references -q \
> --config convert.hg.sourcename=yes
> --config convert.hg.sourcename=yes 2>&1 | grep TypeError
TypeError: b2a_hex() argument 1 must be string or buffer, not None
$ cd new-commit-references
$ hg log -T '{node|short} {desc}\n'
642508659503 the previous commit was c2491f685436
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment