Closed
Bug 1279311
Opened 8 years ago
Closed 8 years ago
cloning mozilla-beta to my user repo doesn't do anything
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kmoir, Assigned: hwine)
References
Details
2:41 PM <kmoir> I tried to clone mozilla-beta to my user repo and it doesn't appear to clone anything. I'm retrying again but I recall last time I did this someone in vcs had to kick a process or something http://hg.mozilla.org/users/kmoir_mozilla.com/mozilla-beta Just need a current copy of mozilla-beta in there
Assignee | ||
Comment 1•8 years ago
|
||
repo created, pull still in process after 20m cpu time: [hwine@hgssh3.dmz.scl3 .hg]$ ps -flwwwp 4663 F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 0 D kmoir@m+ 4663 4346 38 80 0 - 441486 sleep_ 18:39 ? 00:19:47 /var/hg/venv_pash/bin/python2.7 /var/hg/venv_pash/bin/hg -R /repo/hg/mozilla/users/kmoir_mozilla.com/mozilla-beta pull /repo/hg/mozilla/releases/mozilla-beta
Reporter | ||
Comment 2•8 years ago
|
||
says that my clone is complete Pick a source repo: 427 About to clone /releases/mozilla-beta to /users/kmoir_mozilla.com/mozilla-beta 0) Exit. 1) yes. 2) no. Proceed? 1 Please do not interrupt this operation. Please wait. Cloning /releases/mozilla-beta to /users/kmoir_mozilla.com/mozilla-beta Clone complete. Fixing permissions, don't interrupt. Repository marked as non-publishing: draft changesets will remain in the draft phase when pushed. but clone is missing actual content http://hg.mozilla.org/users/kmoir_mozilla.com/mozilla-beta
Assignee | ||
Comment 3•8 years ago
|
||
confirm of comment 2 from the server side. cloning process has completed and lock file removed. However, a 'du -csh' in the repo shows only 193MBi of files, s/b closer to 2.7Gi (value from releases/mozilla/beta) It's currently a whole lot of nothing: [root@hgssh3.dmz.scl3 mozilla-beta]# /repo/hg/venv_tools/bin/hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files 0 files, 0 changesets, 0 total revisions [root@hgssh3.dmz.scl3 mozilla-beta]# pwd /repo/hg/mozilla/users/kmoir_mozilla.com/mozilla-beta But it's a self consistent nothing. Cloning by hand...
Assignee: nobody → hwine
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•8 years ago
|
||
Hmm, something seems odd when I do it by hand. After running for about 10 min, I get: [root@hgssh3.dmz.scl3 mozilla-beta]# su -c '/repo/hg/venv_tools/bin/hg pull /repo/hg/mozilla/releases/mozilla-beta' kmoir@mozilla.com pulling from /repo/hg/mozilla/releases/mozilla-beta requesting all changes adding changesets adding manifests adding file changes files [> ] 3602/244093 1h29m That time estimate seems rather high (and this is after the estimate had time to stabilize).
Assignee | ||
Comment 5•8 years ago
|
||
Ahh - maybe this explains things - after 45 minutes, it aborts: [root@hgssh3.dmz.scl3 mozilla-beta]# su -c '/repo/hg/venv_tools/bin/hg pull /repo/hg/mozilla/releases/mozilla-beta' kmoir@mozilla.com pulling from /repo/hg/mozilla/releases/mozilla-beta requesting all changes adding changesets adding manifests adding file changes added 333309 changesets with 1738565 changes to 244093 files (+8 heads) (not updating pushlog since changesets come from pull) replication log not available; cannot close transaction transaction abort! rollback completed abort: pretxnclose.vcsreplicator hook failed
Assignee | ||
Comment 6•8 years ago
|
||
workaround from bug 1279367 worked! (venv_tools)bash-4.2$ pwd /repo/hg/mozilla/users/kmoir_mozilla.com/mozilla-beta (venv_tools)bash-4.2$ id uid=1954(kmoir@mozilla.com) gid=100(users) groups=100(users),673(scm_level_1),679(scm_level_3),685(scm_level_2),2000(svn_sysadmins) (venv_tools)bash-4.2$ time hg --config extensions.vcsreplicator=! pull /repo/hg/mozilla/releases/mozilla-beta ; time hg replicatesync pulling from /repo/hg/mozilla/releases/mozilla-beta requesting all changes adding changesets adding manifests adding file changes added 333309 changesets with 1738565 changes to 244093 files (+8 heads) (not updating pushlog since changesets come from pull) (run 'hg heads' to see heads) real 41m25.614s user 18m13.208s sys 2m45.433s wrote synchronization message into replication log real 0m0.675s user 0m0.344s sys 0m0.059s
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•8 years ago
|
||
thanks Hal!
You need to log in
before you can comment on or make changes to this bug.
Description
•