950 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash |
950 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash |
951 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ |
951 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ |
952 [255] |
952 [255] |
953 $ rm -rf empty |
953 $ rm -rf empty |
954 |
954 |
|
955 Push a largefiles repository to a served empty repository |
|
956 $ hg init r8 |
|
957 $ echo c3 > r8/f1 |
|
958 $ hg add --large r8/f1 -R r8 |
|
959 $ hg commit -m "m1" -R r8 |
|
960 Invoking status precommit hook |
|
961 A f1 |
|
962 $ hg init empty |
|
963 $ hg serve -R empty -d -p $HGPORT2 --pid-file hg.pid \ |
|
964 > --config 'web.allow_push=*' --config web.push_ssl=False |
|
965 $ cat hg.pid >> $DAEMON_PIDS |
|
966 $ rm ${USERCACHE}/* |
|
967 $ hg push -R r8 http://localhost:$HGPORT2 |
|
968 pushing to http://localhost:$HGPORT2/ |
|
969 searching for changes |
|
970 searching for changes |
|
971 remote: adding changesets |
|
972 remote: adding manifests |
|
973 remote: adding file changes |
|
974 remote: added 1 changesets with 1 changes to 1 files |
|
975 $ rm -rf empty |
|
976 |
|
977 used all HGPORTs, kill all daemons |
|
978 $ "$TESTDIR/killdaemons.py" |
|
979 |
955 Clone a local repository owned by another user |
980 Clone a local repository owned by another user |
956 We have to simulate that here by setting $HOME and removing write permissions |
981 We have to simulate that here by setting $HOME and removing write permissions |
957 $ ORIGHOME="$HOME" |
982 $ ORIGHOME="$HOME" |
958 $ mkdir alice |
983 $ mkdir alice |
959 $ HOME="`pwd`/alice" |
984 $ HOME="`pwd`/alice" |