btrbk: bugfix: set correct parent section when propagating targets

pull/88/head
Axel Burri 2016-04-24 15:59:17 +02:00
parent 4ffaf430c5
commit 191284cd43
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
btrbk-current
* Bugfix: set correct parent section when propagating targets
(close: #85).
btrbk-0.23.0
* INCOMPATIBLE CONFIGURATION:

4
btrbk
View File

@ -46,7 +46,7 @@ use Carp qw(confess);
use Getopt::Long qw(GetOptions);
use Time::Local qw( timelocal timegm timegm_nocheck );
our $VERSION = "0.23.0";
our $VERSION = "0.23.1-dev";
our $AUTHOR = 'Axel Burri <axel@tty0.ch>';
our $PROJECT_HOME = '<http://digint.ch/btrbk/>';
@ -2454,7 +2454,7 @@ sub _config_propagate_target
next;
}
my %copy = ( %$target, PARENT => $cur );
my %copy = ( %$target, PARENT => $subsection );
# foreach my $key (keys %copy) {
# # config keys which are strongly related to target section are
# # superseded by their presence in later defined sections.