]> arthur.barton.de Git - bup.git/commit
Since 'latest' is computed by revs[0], it must exist, so don't test it.
authorRob Browning <rlb@defaultvalue.org>
Fri, 23 Nov 2012 20:32:39 +0000 (14:32 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 23 Nov 2012 21:34:38 +0000 (15:34 -0600)
commit90b42a26cdac612c9e14f1b56fadf59c7bd51740
tree29922bf65d0464b4908780a5c89956666073467e
parent24a2f98381009ee54de8cf55773878248bc1f007
Since 'latest' is computed by revs[0], it must exist, so don't test it.

Remove the unnecessary "if latest:" conditional from
BranchList._mksubs().  Given the fact that latest used to be computed
via max(revs), and is now computed by revs[0], there's no way it
wouldn't exist.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/vfs.py