Signed-off-by: Yann Dirson <ydirson@xxxxxxxxxx> --- stgit/stack.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py index ec75507..d1b04ca 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -639,7 +639,7 @@ class Series(StgitObject): # fast forward the cloned series to self's top new_series.forward_patches(applied) - # Clone remote and merge settings + # Clone parent informations value = config.get('branch.%s.remote' % self.__name) if value: config.set('branch.%s.remote' % target_series, value) @@ -648,6 +648,10 @@ class Series(StgitObject): if value: config.set('branch.%s.merge' % target_series, value) + value = config.get('branch.%s.stgit.parentbranch' % self.__name) + if value: + config.set('branch.%s.stgit.parentbranch' % target_series, value) + def delete(self, force = False): """Deletes an stgit series """ - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html