comparison hgext/hgk.py @ 24938:6db8074f9150

revset: return early when revs is empty By introducing an early return in _revancestors() when revs is empty, we make it so inputrev is never None, which simplifies the subsequent code.
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 06 May 2015 11:29:09 -0700
parents ce8dd4fd2d5d
children 80c5b2666a96
comparison
equal deleted inserted replaced
24937:f5518b47cdd1 24938:6db8074f9150