![]() ![]() utils import ( 56 hashutil, 57 stringutil, 58 urlutil, 59 ) 60 61 62 release = lock. interfaces import repository as repositorymod 55 from. import ( 25 bookmarks, 26 bundlerepo, 27 cmdutil, 28 destutil, 29 discovery, 30 error, 31 exchange, 32 extensions, 33 graphmod, 34 httppeer, 35 localrepo, 36 lock, 37 logcmdutil, 38 logexchange, 39 merge as mergemod, 40 mergestate as mergestatemod, 41 narrowspec, 42 phases, 43 requirements, 44 scmutil, 45 sshpeer, 46 statichttprepo, 47 ui as uimod, 48 unionrepo, 49 url, 50 util, 51 verify as verifymod, 52 vfs as vfsmod, 53 ) 54 from. node import ( 18 hex, 19 sha1nodeconstants, 20 short, 21 ) 22 from. 8 9 10 import os 11 import posixpath 12 import shutil 13 import stat 14 import weakref 15 16 from. In case the hard-coded hashes change, the following commands can be used toĬloning a 500MByte repo I had to had seemed to produce correct results.As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers.Īlternatively you can here view or download the uninterpreted source code file.įor more information about "hg.py" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 6.3.3_vs_6.4rc0.ġ # hg.py - repository classes for mercurial 2 # 3 # Copyright 2005-2007 Olivia Mackall 4 # Copyright 2006 Vadim Gelfer 5 # 6 # This software may be used and distributed according to the terms of the 7 # GNU General Public License version 2 or any later version. +++ -657,6 +657,8 hg convert -q git-repo6 no-submodules -config =True Show file at specific -949,6 +949,7 s/cpp.cpp ![]() hg/origbackups: No such file or directory + saving current version of foobar as foobar.orig ![]() saving current version of foobar as $TESTTMP/tc/.hg/origbackups/foobar.orig (glob) creating directory: $TESTTMP/tc/.hg/origbackups (glob) $ hg revert -all -verbose -config 'ui.origbackuppath=.hg/origbackups' Repeating the above with mercurial-3.5.86_64 installed still fails two of the tests but there's no glibc backtrace and it looks like the failures are due to changes in git/mercurial: - /dev/shm/hg/tests/test-subrepo-git.t mpatch.mpatchError: patch cannot be decoded + abort: cannot read tags from `echo pwned >COMMAND-INJECTION`/.git + Please make sure you have the correct access rightsĬloning subrepo s from ext::sh -c echo% pwned% >&2Ībort: git clone error 128 in s (in subrepo s) + fatal: Could not read from remote repository. $ env -u GIT_ALLOW_PROTOCOL hg clone malicious-subrepository malicious-subrepository-protectedĬloning into '$TESTTMP/tc/malicious-subrepository-protected/s'. With mercurial-3.5.86_64 installed results in output ultimately saying - /dev/shm/hg/tests/test-subrepo-git.t `hg clone cd hg/tests/ python2 run-tests.py -with-hg=/usr/bin/hg test-revlog.t test-subrepo-git.t test-convert-git.t ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |