http://bugs.grommit.com/show_bug.cgi?id=331
Summary: hg-active could handle repository connection failure
more gracefully
Product: SCM Migration
Version: unspecified
Platform: i386 (64bit/AMD64)
OS/Version: Solaris 11/Nevada
Status: NEW
Severity: trivial
Priority: P3
Component: other
AssignedTo: scm-migration-dev at opensolaris.org
ReportedBy: menno at sun.com
While running hg-active against a repository whose parent is remote and
currently not reachable (due to lack of network connectivity on my end),
hg-active exits with a traceback. A simple "Could not connect to remote
repository" or some such would be nice in this case.
$ hg-active -w .
Traceback (most recent call last):
File "/data/ws/onnv-scm/usr/src/tools/proto/opt/onbld/bin/hg-active", line
72, in ?
act = ws.active(parent)
File "WorkSpace.py", line 535, in active
File "WorkSpace.py", line 505, in _findoutgoing
File "build/proto/lib/python/mercurial/hg.py", line 56, in repository
File "build/proto/lib/python/mercurial/sshrepo.py", line 43, in __init__
File "build/proto/lib/python/mercurial/sshrepo.py", line 73, in validate_repo
File "build/proto/lib/python/mercurial/sshrepo.py", line 92, in raise_
mercurial.repo.RepoError: no suitable response from remote hg
I'm using the following onnv-scm bits:
$ hg log
changeset: 5060:85e97244e910
tag: tip
user: Richard Lowe <richlowe at richlowe.net>
date: Tue Aug 21 18:38:33 2007 -0400
summary: 314 cdm backup doesn't reset latest symlink on error
--
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.