comparison hgeditor @ 20097:85d9200ba9f0

commands.bookmark: use unsetcurrent instead of setcurrent with None There are currently two different ways we can have no active bookmark: .hg/bookmarks.current being missing and it being an empty file. This patch and upcoming ones make an empty file the only way to represent no active bookmarks. This is the right choice because it matches the state that a new repository without bookmarks will be in.
author Siddharth Agarwal <sid0@fb.com>
date Fri, 15 Nov 2013 18:06:01 -0800
parents 2b440bb8a66b
children 1aee2ab0f902
comparison
equal deleted inserted replaced
20095:1c46b18b0e1c 20097:85d9200ba9f0