remote-bzr: remove files before modifications
[gitweb.git] / contrib / remote-helpers / git-remote-bzr
index a7d041baeccab8d976f2237586f5e35ff6ada40c..f818e93f1192d779a8ac8e3694f217f481af98db 100755 (executable)
@@ -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