##// END OF EJS Templates
merge with stable
Augie Fackler -
r41251:6242a190 merge default
parent child Browse files
Show More
@@ -381,6 +381,8 b' def desthistedit(ui, repo):'
381 381 revs = stack.getstack(repo)
382 382 elif default:
383 383 revs = scmutil.revrange(repo, [default])
384 else:
385 raise error.Abort(_("config option histedit.defaultrev can't be empty"))
384 386
385 387 if revs:
386 388 # Take the first revision of the revset as the root
@@ -112,6 +112,13 b' Test config specified default'
112 112 > pick 08d98a8350f3 4 five
113 113 > EOF
114 114
115 Test invalid config default
116 ---------------------------
117
118 $ hg histedit --config "histedit.defaultrev="
119 abort: config option histedit.defaultrev can't be empty
120 [255]
121
115 122 Run on a revision not descendants of the initial parent
116 123 --------------------------------------------------------------------
117 124
General Comments 0
You need to be logged in to leave comments. Login now