Closed Bug 785384 Opened 12 years ago Closed 10 years ago

Possible enhancements to hg clone script

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 891318

People

(Reporter: joey, Assigned: bkero)

Details

Some error output is appearing as a menu choice when atttempting to create/clone a user repository:

% ssh hg.mozilla.org clone foobar
1) yes - create repo
1) clone a private repository
   203) /usr/bin/find: `private': Permission denied.

find may need to -prune the private/ directory or stderr redirected to filter garbage out of the menu list.


For usability a few enhancements might help finding a specific repo to clone within the +/- 400 available options.
  1) alphabetic sort
  2) display common repositories like 'mozilla-central', 'comm-central', etc as a separate list displayed at the bottom.
  3) shorten the overall list by subdir.  If elements like weave-l10n/ x 40, l10n-central/ x 103, etc could be displayed initially as a menu option that when selected would expand and display available choices.  It would reduce the number of options a user may need to review to find the repo to be cloned.
Also specifying the source repo on the command line might help eliminate some interactive prompting if the arg specified is a full/valid repo:

ssh hg.mozilla.org clone mozilla-central foobar
Assignee: server-ops-devservices → bkero
Severity: normal → enhancement
Summary: hg.mozilla.org "clone" → Possible enhancements to hg clone script
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.