summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index 6927f6111e..8a31b20ff1 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -120,7 +120,7 @@ class Hg(FetchMethod):
120 else: 120 else:
121 cmd = "%s pull" % (basecmd) 121 cmd = "%s pull" % (basecmd)
122 elif command == "update": 122 elif command == "update":
123 cmd = "%s update -C %s" % (basecmd, " ".join(options)) 123 cmd = "%s update --config auth.default.prefix=* --config auth.default.username=%s --config auth.default.password=%s --config \"auth.default.schemes=%s\" -C %s" % (basecmd, ud.user, ud.pswd, proto, " ".join(options))
124 else: 124 else:
125 raise FetchError("Invalid hg command %s" % command, ud.url) 125 raise FetchError("Invalid hg command %s" % command, ud.url)
126 126