diff --git a/ChangeLog b/ChangeLog index fb730fc..ddfce4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +btrbk-current + + * Bugfix: set correct parent section when propagating targets + (close: #85). + btrbk-0.23.0 * INCOMPATIBLE CONFIGURATION: diff --git a/btrbk b/btrbk index 8ce67c6..b878501 100755 --- a/btrbk +++ b/btrbk @@ -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 '; our $PROJECT_HOME = ''; @@ -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.