equal
deleted
inserted
replaced
379 |
379 |
380 if default is None: |
380 if default is None: |
381 revs = stack.getstack(repo) |
381 revs = stack.getstack(repo) |
382 elif default: |
382 elif default: |
383 revs = scmutil.revrange(repo, [default]) |
383 revs = scmutil.revrange(repo, [default]) |
|
384 else: |
|
385 raise error.Abort(_("config option histedit.defaultrev can't be empty")) |
384 |
386 |
385 if revs: |
387 if revs: |
386 # Take the first revision of the revset as the root |
388 # Take the first revision of the revset as the root |
387 return revs.min() |
389 return revs.min() |
388 |
390 |