Mercurial > hg
diff mercurial/lock.py @ 20806:d66862b87ae6
histedit: select the lowest rev when looking for a root in a revset (bc)
When we specify a revision or a revset we just get the last element from the
list. For revsets this can lead to unintended effects where you specify a
revset like only() but instead histedit selects the highest revision in the
set as root. Therefore we should always use the lowest revision number as
root.
author | David Soria Parra <davidsp@fb.com> |
---|---|
date | Thu, 13 Mar 2014 16:05:06 -0700 |
parents | c697b70f295f |
children | f484be02bd35 |