From: Thiago Macieira Date: Thu, 27 Dec 2007 00:58:04 +0000 (-0200) Subject: Allow one commit to multiple branches of the same repository. X-Git-Url: http://andersk.mit.edu/gitweb/svn-all-fast-export.git/commitdiff_plain/b8549b9065cd1c3fb1914d3617838ef39fc12075 Allow one commit to multiple branches of the same repository. --- diff --git a/src/svn.cpp b/src/svn.cpp index e0818fb..0314c3c 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -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) {