Closed
Bug 439023
Opened 17 years ago
Closed 13 years ago
hg clone can not clone a public repository
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: reed)
Details
When trying to setup a new clone based on mozilla-central, i followed the directions here:
http://developer.mozilla.org/en/docs/Publishing_Mercurial_Clones
I choose "Option 1" to clone a public repo. The result was:
starfish:~ dougt$ ssh hg.mozilla.org clone geolocation
Making repo geolocation for dougt@mozilla.com.
This repo will appear as hg.mozilla.org/users/dougt@mozilla.com/geolocation
If you need a top level repo, please quit now and file a bug for IT to create one for you
0) Exit.
1) yes.
2) no.
Proceed? 1
You can clone an existing public repo or a users private repo.
You can also create an empty repository.
0) Exit.
1) Clone a public repository.
2) Clone a private repository.
3) Create an empty repository.
Source repository: 1
Traceback (most recent call last):
File "/usr/local/bin/pash.py", line 23, in ?
hg_helper.serve ()
File "/usr/local/bin/hg_helper.py", line 153, in serve
make_repo_clone (repo_name)
File "/usr/local/bin/hg_helper.py", line 30, in make_repo_clone
repo_list = run_command ("/usr/bin/find /repo/hg/mozilla -maxdepth 3 -mindepth 2 -type d -name .hg")
File "/usr/local/bin/sh_helper.py", line 27, in run_command
output_lines = subprocess.Popen (command_string.split (), stderr=devnull, stdout=subprocess.PIPE).communicate ()[0].split ('\n')
NameError: global name 'subprocess' is not defined
Note that this problem is because the version of python on this box does not have the subprocess module.
The work around is to select option 3 and create a empty repo. Then pull from mozilla-central locally. And push everything back.
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → server-ops
Component: Release Engineering → Server Operations
QA Contact: release → justin
yeah, sorry it's not that the module doesn't exist, it's that it's a module, so the python needs:
using subprocess
somewhere....
Assignee | ||
Updated•17 years ago
|
Assignee: server-ops → reed
Assignee | ||
Comment 2•17 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
Can't clone a public repo now:
You can clone an existing public repo or a users private repo.
You can also create an empty repository.
0) Exit.
1) Clone a public repository.
2) Clone a private repository.
3) Create an empty repository.
Source repository: 1
About to create an empty repository at /users/shaver_mozilla.com/mxr
0) Exit.
1) yes.
2) no.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•13 years ago
|
||
Please file a new bug rather than reopening a bug from 2008 that most likely has nothing to do with the current issue.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•