]> arthur.barton.de Git - bup.git/commit
save-cmd.py: remove redundant _push()
authorRob Browning <rlb@defaultvalue.org>
Mon, 3 Nov 2014 23:02:03 +0000 (17:02 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 31 Jan 2015 18:33:48 +0000 (12:33 -0600)
commit584ebfd2b9a13b559d4c552972b27c7bb74ce7e4
treea859feeef4aa668764052bd7a96cfe51b3544ac6
parent598ca81985f602fdeaa938de665a3525c385ba7f
save-cmd.py: remove redundant _push()

Remove a duplicate _push() from the "first_root" code.  This could cause
the creation of a tree that was immediately _pop()ped by the "finish the
current sub-tree" code, and then reintroduced (as a duplicate parent
entry) by the "start a new sub-tree" code.

Instead, just wait for the "start a new sub-tree" code to call the
relevant _push().

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
cmd/save-cmd.py