Wrong constant used when configuring a repository

Bug: 337546
Change-Id: Ib2f31d621caa5f8b24ce74ce82499889d4f30550
This commit is contained in:
Tomasz Zarna 2011-02-18 11:41:19 +01:00
parent 681739b1c8
commit dcb7e477ee
1 changed files with 2 additions and 2 deletions

View File

@ -139,9 +139,9 @@ private FetchResult fetch(Repository repo, URIish u)
config.update(repo.getConfig());
repo.getConfig().setString(ConfigConstants.CONFIG_BRANCH_SECTION,
branch, ConfigConstants.CONFIG_REMOTE_SECTION, remote);
branch, ConfigConstants.CONFIG_KEY_REMOTE, remote);
repo.getConfig().setString(ConfigConstants.CONFIG_BRANCH_SECTION,
branch, ConfigConstants.CONFIG_KEY_MERGE, branch); //$NON-NLS-1$ //$NON-NLS-2$
branch, ConfigConstants.CONFIG_KEY_MERGE, branch);
repo.getConfig().save();