diff options
author | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-26 22:58:04 -0200 |
---|---|---|
committer | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-26 22:58:04 -0200 |
commit | b8549b9065cd1c3fb1914d3617838ef39fc12075 (patch) | |
tree | 5fc38bfe91ac78261a53d285be937f6ad60c3bf4 /src | |
parent | b50b928579919f51218f45e47db758e43ef757c1 (diff) | |
download | svn2git-b8549b9065cd1c3fb1914d3617838ef39fc12075.tar svn2git-b8549b9065cd1c3fb1914d3617838ef39fc12075.tar.gz svn2git-b8549b9065cd1c3fb1914d3617838ef39fc12075.tar.bz2 svn2git-b8549b9065cd1c3fb1914d3617838ef39fc12075.tar.xz svn2git-b8549b9065cd1c3fb1914d3617838ef39fc12075.zip |
Allow one commit to multiple branches of the same repository.
Diffstat (limited to 'src')
-rw-r--r-- | src/svn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |