2013-03-19 31 views
1

當我試圖讓NS-3-dev的釋放如此 -NS-3在Linux上的Mandriva:錯誤克隆NS-3支

[[email protected] 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 -

[[email protected] 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的副本?

回答

0

看起來上游ns-3-dev存儲庫可能已損壞。運行它的人一定要運行它hg verify

+0

- 感謝您的回覆,djc!這是正常的,我檢查 - '[root @ localhost ns-3-allinone]#hg驗證存儲庫使用revlog格式1檢查變更集檢查清單交叉檢查變更集和清單中的文件檢查文件7個文件,55個變更集,78個修訂版...'如果我從遠程服務器檢查,那麼一切正常,如果從本地主機* Linux Mandriva *,那麼一個錯誤消息。而是代理中的問題。我只是用* ns-3 *下載了檔案,我和他一起工作。 – 2013-03-20 08:14:11