]> andersk Git - svn-all-fast-export.git/commitdiff
Allow one commit to multiple branches of the same repository.
authorThiago Macieira <thiago@cassini.local.lan>
Thu, 27 Dec 2007 00:58:04 +0000 (22:58 -0200)
committerThiago Macieira <thiago@cassini.local.lan>
Thu, 27 Dec 2007 00:58:04 +0000 (22:58 -0200)
src/svn.cpp

index e0818fb53eec66552d173fa3247f8ebd001ec150..0314c3c7787b1a4be9c0e7ff7ba37c82fec30c22 100644 (file)
@@ -553,7 +553,7 @@ int SvnRevision::exportInternal(const char *key, const svn_fs_path_change_t *cha
         }
     }
 
-    Repository::Transaction *txn = transactions.value(repository, 0);
+    Repository::Transaction *txn = transactions.value(repository + branch, 0);
     if (!txn) {
         Repository *repo = repositories.value(repository, 0);
         if (!repo) {
@@ -566,7 +566,7 @@ int SvnRevision::exportInternal(const char *key, const svn_fs_path_change_t *cha
         if (!txn)
             return EXIT_FAILURE;
 
-        transactions.insert(repository, txn);
+        transactions.insert(repository + branch, txn);
     }
 
     if (change->change_kind == svn_fs_path_change_delete) {
This page took 0.030897 seconds and 5 git commands to generate.