首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Linux上的ns-3 :克隆ns-3分支时出错

Linux上的ns-3 :克隆ns-3分支时出错
EN

Stack Overflow用户
提问于 2013-03-19 12:25:28
回答 1查看 431关注 0票数 1

我正在尝试通过以下方式获得ns-3-dev版本:

代码语言:javascript
复制
[root@localhost ns-3-allinone]# ./download.py -n ns-3-dev

#
# Get NS-3
#

Cloning ns-3 branch
=> hg clone http://code.nsnam.org/ns-3-dev ns-3-dev
requesting all changes
adding changesets
adding manifests
transaction abort!
rollback completed
abort: consistency error in delta!
Traceback (most recent call last):
File "./download.py", line 316, in
sys.exit(main())
File "./download.py", line 261, in main
ns3_dir = get_ns3(options.ns3_branch)
File "./download.py", line 26, in get_ns3
run_command(['hg', 'clone', ns3_branch_url, ns3_dir])
File "/mercurial/mercurial-2.5.1/mercurial/repos/ns-3-allinone/util.py", line 24, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['hg', 'clone', 'http://code.nsnam.org/ns-3-dev', 'ns-3-dev'] exited with code 255

但是,我可以克隆目录ns-3-allinone:

代码语言:javascript
复制
[root@localhost repos]# hg clone http://code.nsnam.org/ns-3-allinone
destination directory: ns-3-allinone
requesting all changes
adding changesets
adding manifests
adding file changes
added 55 changesets with 78 changes to 7 files
updating to branch default
7 files updated, 0 files merged, 0 files removed, 0 files unresolved

为什么我拿不到ns-3-dev的副本?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-03-19 21:24:14

看起来上游ns-3-dev存储库可能已损坏。无论是谁运行它,都应该确保在它上运行hg verify

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15491472

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档