[gnome-continuous] libqa: add new remote only if doesn't exist
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] libqa: add new remote only if doesn't exist
- Date: Tue, 27 Jan 2015 11:06:04 +0000 (UTC)
commit 6e9df8507ec7218e61036b60169aa389995e5671
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jan 27 12:01:46 2015 +0100
libqa: add new remote only if doesn't exist
src/js/libqa.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index 1e128e0..9b7b409 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -353,7 +353,7 @@ function pullDeploy(mntdir, srcrepo, osname, target, revision, originRepoUrl, ca
{logInitiation: true, env: adminEnv});
if (originRepoUrl)
ProcUtil.runSync(['ostree', repoArg,
- 'remote', 'add', osname, originRepoUrl, target],
+ 'remote', 'add', '--if-not-exists', osname, originRepoUrl, target],
cancellable, { logInitiation: true });
ProcUtil.runSync(['ostree', repoArg,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]