Make sure that stg uncommit doesn't touch the branch head
authorKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:01:50 +0000 (00:01 +0200)
committerKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:01:50 +0000 (00:01 +0200)
commitbca31c2f68e41625ab6f094904c2c9157ac1e783
tree14bd4875ad8953442326679dcb04ee9f0f45ca64
parent9beaff2e911c0a7c07b288bfdec7597a5cefa7dd
Make sure that stg uncommit doesn't touch the branch head

Even if top != head. It used to set head to top; but with this patch,
it doesn't anymore.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/uncommit.py
stgit/lib/transaction.py
t/t1300-uncommit.sh