Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

cmd line checkout of src has been failing for 24 hours #85

Closed
ThomasHabets opened this issue Oct 10, 2014 · 7 comments
Closed

cmd line checkout of src has been failing for 24 hours #85

ThomasHabets opened this issue Oct 10, 2014 · 7 comments

Comments

@ThomasHabets
Copy link
Contributor

Original issue 85 created by wfaris on 2011-07-26T15:22:50.000Z:

What steps will reproduce the problem?

  1. run hg clone https://code.google.com/p/google-authenticator/ google-authenticator

What is the expected output? What do you see instead?

I expect to get all src locally, instead i get

requesting all changes
adding changesets
adding manifests
adding file changes
added 76 changesets with 388 changes to 273 files
updating to branch default
pulling subrepo mobile/ios/externals/zxing
abort: repository [svn]https://zxing.googlecode.com/svn/trunk/ not found!

and only a few src files are local after running the command

What version of the product are you using? On what operating system?

this is on ubuntu server

Please provide any additional information below.

@ThomasHabets
Copy link
Contributor Author

Comment #1 originally posted by markus@google.com on 2011-07-26T15:34:45.000Z:

Older versions of Mercurial did not support SVN sub-repositories. You need to upgrade your Mercurial client to something a little more recent.

For reference, I can correctly check out the repository with Mercurial version 1.8.3, but I think SVN support has been enabled for quite a while. So, somewhat older versions should work just fine as well.

@ThomasHabets
Copy link
Contributor Author

Comment #2 originally posted by wfaris on 2011-07-27T22:00:02.000Z:

still seeing something odd after i upgraded to version 1.9

hg --version
Mercurial Distributed SCM (version 1.9)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hg -v --traceback clone https://code.google.com/p/google-authenticator/ ga
requesting all changes
adding changesets
adding manifests
adding file changes
added 76 changesets with 388 changes to 273 files
updating to branch default
resolving manifests
getting .hgignore
getting .hgsub
getting .hgsubstate
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 675, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 454, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 729, in _runcommand
return checkargs()
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 683, in checkargs
return cmdfunc()
File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 672, in
d = lambda: util.checksignature(func)(ui, _args, *_cmdoptions)
File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 385, in check
return func(_args, *_kwargs)
File "/usr/lib/pymodules/python2.6/mercurial/commands.py", line 1041, in clone
branch=opts.get('branch'))
File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 366, in clone
_update(destrepo, uprev)
File "/usr/lib/pymodules/python2.6/mercurial/hg.py", line 395, in update
stats = mergemod.update(repo, node, False, False, None)
File "/usr/lib/pymodules/python2.6/mercurial/merge.py", line 554, in update
stats = applyupdates(repo, action, wc, p2, pa, overwrite)
File "/usr/lib/pymodules/python2.6/mercurial/merge.py", line 355, in applyupdates
subrepo.submerge(repo, wctx, mctx, wctx, overwrite)
File "/usr/lib/pymodules/python2.6/mercurial/subrepo.py", line 156, in submerge
mctx.sub(s).get(r)
File "/usr/lib/pymodules/python2.6/mercurial/subrepo.py", line 664, in get
if self._svnversion >= (1, 5):
File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 169, in get
result = self.func(obj)
File "/usr/lib/pymodules/python2.6/mercurial/subrepo.py", line 563, in _svnversion
output, err = self._svncommand(['--version'], filename=None)
File "/usr/lib/pymodules/python2.6/mercurial/subrepo.py", line 551, in _svncommand
universal_newlines=True, env=env, **extrakw)
File "/usr/lib/python2.6/subprocess.py", line 633, in init
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

@ThomasHabets
Copy link
Contributor Author

Comment #3 originally posted by markus@google.com on 2011-07-27T22:13:20.000Z:

Do you have a working copy of subversion on your computer? What does "svn --version" output?

@ThomasHabets
Copy link
Contributor Author

Comment #4 originally posted by wfaris on 2011-07-27T22:25:52.000Z:

i'm an idiot.

did not have subversion installed. do now. everything works.

@ThomasHabets
Copy link
Contributor Author

Comment #5 originally posted by markus@google.com on 2011-07-29T17:50:24.000Z:

Issue 87 has been merged into this issue.

@ThomasHabets
Copy link
Contributor Author

Comment #6 originally posted by klyubin@google.com on 2011-12-06T15:46:28.000Z:

Issue 127 has been merged into this issue.

@ThomasHabets
Copy link
Contributor Author

Comment #7 originally posted by klyubin@google.com on 2012-01-04T14:29:38.000Z:

Issue 133 has been merged into this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant