Mercurial > hg-stable
comparison mercurial/py3kcompat.py @ 16408:d74099ac2ac1
graphlog: fix --follow --rev combinations
The previous behaviour of --follow was really a subset of what is really
happening in log command:
- If --rev is not passed, default to '.:0'
- Resolve --rev into a revision list "revs"
- Set the starting revision to revs[0]
- If revs[1] > revs[0] keep descendants(revs[0]) in revs, otherwise keep
ancestors.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Wed, 11 Apr 2012 11:22:40 +0200 |
parents | 8bb1481cf08f |
children | e7cfe3587ea4 |
comparison
equal
deleted
inserted
replaced
16407:49ef1c382965 | 16408:d74099ac2ac1 |
---|