diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2010-07-22 17:37:07 +0530 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2010-07-22 17:37:07 +0530 |
commit | f0b31cfe9d31421b83507316d1274d191336a1f7 (patch) | |
tree | 456f8b2266607a1c337d9f9218c358cfde05815b /src/main.cpp | |
parent | 37b289b98200f0e054a97485b56a0b643536cad4 (diff) | |
download | svn2git-f0b31cfe9d31421b83507316d1274d191336a1f7.tar svn2git-f0b31cfe9d31421b83507316d1274d191336a1f7.tar.gz svn2git-f0b31cfe9d31421b83507316d1274d191336a1f7.tar.bz2 svn2git-f0b31cfe9d31421b83507316d1274d191336a1f7.tar.xz svn2git-f0b31cfe9d31421b83507316d1274d191336a1f7.zip |
Extract out public methods of Repository into an abstract base class
Rename Repository to FastImportRepository. We will be introducing new types soon.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1982627..ff11255 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -123,7 +123,7 @@ int main(int argc, char **argv) retry: int min_rev = 1; foreach (Rules::Repository rule, rules.repositories()) { - Repository *repo = new Repository(rule); + Repository *repo = makeRepository(rule, repositories); repositories.insert(rule.name, repo); int repo_next = repo->setupIncremental(cutoff); |