Mercurial > evolve
comparison tests/test-evolve-obshistory-amend.t @ 4044:c0fbe70f2e48
topic: check that repo.currenttopic is set before using it as an argument
repo.currenttopic can be an empty string, which means there's no current topic
set. This fact can be used to short-circuit some checks.
Also, this avoids passing an empty string as an argument to topic() revset.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 28 Aug 2018 21:28:41 +0800 |
parents | 7c624b45fe60 |
children | f7afd3a158e3 c16fed4908d8 |
comparison
equal
deleted
inserted
replaced
4043:503ae2689df8 | 4044:c0fbe70f2e48 |
---|