From 191284cd4377ae879869a312395b91fcc108bf23 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sun, 24 Apr 2016 15:59:17 +0200 Subject: [PATCH] btrbk: bugfix: set correct parent section when propagating targets --- ChangeLog | 5 +++++ btrbk | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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.