From bc51f7c3e2858052dcf8774bcffa217415b457c2 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 5 Apr 2013 21:49:18 -0600 Subject: [PATCH] remote-bzr: remove files before modifications Allow re-add of a deleted file in the same commit. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- contrib/remote-helpers/git-remote-bzr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index a7d041baec..f818e93f11 100755 --- a/contrib/remote-helpers/git-remote-bzr +++ b/contrib/remote-helpers/git-remote-bzr @@ -303,10 +303,10 @@ def export_branch(branch, name): else: print "merge :%s" % m + for f in removed: + print "D %s" % (f,) for f in modified_final: print "M %s :%u %s" % f - for f in removed: - print "D %s" % (f) print count += 1 -- 2.11.4.GIT