blob: cf8e982dddae9c58346e9a31f2799e63834de8b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/lib/spack/spack/cmd/clone.py b/lib/spack/spack/cmd/clone.py
index ade3c2a739..610ef78ea1 100644
--- a/lib/spack/spack/cmd/clone.py
+++ b/lib/spack/spack/cmd/clone.py
@@ -12,7 +12,7 @@
import spack.util.git
from spack.util.executable import ProcessError
-_SPACK_UPSTREAM = "https://github.com/spack/spack"
+_SPACK_UPSTREAM = "https://git.adelielinux.org/adelie/spack.git"
description = "create a new installation of spack in another prefix"
section = "admin"
@@ -37,10 +37,10 @@ def get_origin_info(remote):
try:
branch = git("symbolic-ref", "--short", "HEAD", output=str)
except ProcessError:
- branch = "develop"
+ branch = "adelie"
tty.warn("No branch found; using default branch: %s" % branch)
- if remote == "origin" and branch not in ("master", "develop"):
- branch = "develop"
+ if remote == "origin" and branch not in ("master", "develop", "adelie"):
+ branch = "adelie"
tty.warn("Unknown branch found; using default branch: %s" % branch)
try:
origin_url = git(
|