amend: abort if amending s0 with a different topic
This patch fixes issue of silently changing topic when amending on s0 (base of a topic stack) by aborting in that case. We suggest to run `hg update .`, which will checkout the topic of 's0' if it has one, otherwise clear the current topic. Changes in test file reflect the added behavior.
topic/default/fix-s0-amend-issue in 4 minutes and 37 seconds (queued for 2 seconds)8 jobs for