fb-hgext: fix copied fb-hgext tests

Summary:
This is a big bulk of generally almost-obvious fixes to the moved tests. Mostly
these fixes have to do with correct importing of the actual extensions.

Depends on D6675329

Test Plan:
- ./run-tests.py fails less after this commit
- see further commits for more test fixes

Reviewers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6675344
This commit is contained in:
Kostia Balytskyi 2018-01-09 03:06:09 -08:00
parent e75b9fc1b1
commit b27a46c987
119 changed files with 231 additions and 236 deletions

View File

@ -1,6 +1,6 @@
cat >> $HGRCPATH<<EOF cat >> $HGRCPATH<<EOF
[extensions] [extensions]
p4fastimport=$TESTDIR/../hgext3rd/p4fastimport p4fastimport=$TESTDIR/../hgext/p4fastimport
EOF EOF
# create p4 depot # create p4 depot

View File

@ -1,7 +1,7 @@
$ cat << EOF >> $HGRCPATH $ cat << EOF >> $HGRCPATH
> [extensions] > [extensions]
> age=$TESTDIR/../hgext3rd/age.py > age=
> EOF > EOF
Setup repo Setup repo

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> backups=$TESTDIR/../hgext3rd/backups.py > backups=
> strip= > strip=
> EOF > EOF

View File

@ -4,7 +4,7 @@ Test catnotate
$ cd repo1 $ cd repo1
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> catnotate=$TESTDIR/../hgext3rd/catnotate.py > catnotate=
> strip= > strip=
> EOF > EOF

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> checkmessagehook = $TESTDIR/../hgext3rd/checkmessagehook.py > checkmessagehook=
> EOF > EOF
Build up a repo Build up a repo

View File

@ -1,8 +1,8 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> cleanobsstore=$TESTDIR/../hgext3rd/cleanobsstore.py > cleanobsstore=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers > evolution=createmarkers
> EOF > EOF

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> configwarn=$TESTDIR/../hgext3rd/configwarn.py > configwarn=
> [configwarn] > [configwarn]
> systemconfigs=diff.git, phases.publish > systemconfigs=diff.git, phases.publish
> [alias] > [alias]

View File

@ -1,8 +1,8 @@
$ . "$TESTDIR/copytrace.sh" $ . "$TESTDIR/copytrace.sh"
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> copytrace=$TESTDIR/../hgext3rd/copytrace.py > copytrace=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> shelve= > shelve=
> [fbamend] > [fbamend]

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> rebase= > rebase=
> copytrace=$TESTDIR/../hgext3rd/copytrace.py > copytrace=
> [experimental] > [experimental]
> copytrace=off > copytrace=off
> EOF > EOF

View File

@ -1,7 +1,7 @@
$ . "$TESTDIR/copytrace.sh" $ . "$TESTDIR/copytrace.sh"
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> copytrace=$TESTDIR/../hgext3rd/copytrace.py > copytrace=
> rebase= > rebase=
> shelve= > shelve=
> [experimental] > [experimental]

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> crdump=$TESTDIR/../hgext3rd/crdump.py > crdump=
> EOF > EOF
Create repo Create repo
@ -143,16 +143,16 @@ Test basic dump of two commits
... data = json.loads(f.read()) ... data = json.loads(f.read())
... outdir = data['output_directory'] ... outdir = data['output_directory']
... for commit in data['commits']: ... for commit in data['commits']:
... print "#### commit %s" % commit['node'] ... print("#### commit %s" % commit['node'])
... print open(path.join(outdir, commit['patch_file'])).read() ... print(open(path.join(outdir, commit['patch_file'])).read())
... for binfile in commit['binary_files']: ... for binfile in commit['binary_files']:
... print "######## file %s" % binfile['file_name'] ... print("######## file %s" % binfile['file_name'])
... if binfile['old_file'] is not None: ... if binfile['old_file'] is not None:
... print "######## old" ... print("######## old")
... print open(path.join(outdir, binfile['old_file'])).read().encode('hex') ... print(open(path.join(outdir, binfile['old_file'])).read().encode('hex'))
... if binfile['new_file'] is not None: ... if binfile['new_file'] is not None:
... print "######## new" ... print("######## new")
... print open(path.join(outdir, binfile['new_file'])).read().encode('hex') ... print(open(path.join(outdir, binfile['new_file'])).read().encode('hex'))
... import shutil ... import shutil
... shutil.rmtree(outdir) ... shutil.rmtree(outdir)
#### commit 65d913976cc18347138f7b9f5186010d39b39b0f #### commit 65d913976cc18347138f7b9f5186010d39b39b0f

View File

@ -1,7 +1,7 @@
Set up extension Set up extension
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> debugcommitmessage = $TESTDIR/../hgext3rd/debugcommitmessage.py > debugcommitmessage=
> EOF > EOF
Set up repo Set up repo

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> dialect = $TESTDIR/../hgext3rd/dialect.py > dialect=
> show = $TESTDIR/../hgext3rd/fbshow.py > show=$TESTDIR/../hgext/fbshow.py
> EOF > EOF
$ hg help -e show | head -n 1 $ hg help -e show | head -n 1

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> dirsync=$TESTDIR/../hgext3rd/dirsync.py > dirsync=
> EOF > EOF
$ hg init repo $ hg init repo

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> dirsync=$TESTDIR/../hgext3rd/dirsync.py > dirsync=
> EOF > EOF
$ hg init repo $ hg init repo

View File

@ -11,7 +11,7 @@ TEST: incomplete requirements handling (required extension excluded)
$ cd a $ cd a
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> drop = $TESTDIR/../hgext3rd/drop.py > drop=
> EOF > EOF
$ hg drop 1 $ hg drop 1
@ -23,7 +23,7 @@ SETUP: Properly setup all required extensions
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> rebase= > rebase=
> drop = $TESTDIR/../hgext3rd/drop.py > drop=
> [experimental] > [experimental]
> evolution=all > evolution=all
> EOF > EOF
@ -50,7 +50,7 @@ RESET and SETUP
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> rebase= > rebase=
> drop = $TESTDIR/../hgext3rd/drop.py > drop=
> [experimental] > [experimental]
> evolution=all > evolution=all
> EOF > EOF
@ -87,7 +87,7 @@ RESET and SETUP
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> rebase= > rebase=
> drop = $TESTDIR/../hgext3rd/drop.py > drop=
> [experimental] > [experimental]
> evolution=all > evolution=all
> EOF > EOF
@ -179,7 +179,7 @@ RESET and SETUP
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> rebase= > rebase=
> drop = $TESTDIR/../hgext3rd/drop.py > drop=
> [experimental] > [experimental]
> evolution=all > evolution=all
> EOF > EOF

View File

@ -2,7 +2,7 @@
> [ui] > [ui]
> interface=editor > interface=editor
> [extensions] > [extensions]
> edrecord=$TESTDIR/../hgext3rd/edrecord.py > edrecord=
> __EOF__ > __EOF__
$ hg init repo $ hg init repo

View File

@ -8,7 +8,7 @@
> EOF > EOF
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> errorredirect=$TESTDIR/../hgext3rd/errorredirect.py > errorredirect=
> crash=$TESTTMP/crash.py > crash=$TESTTMP/crash.py
> EOF > EOF

View File

@ -3,7 +3,7 @@ Set up repository
$ hg init repo $ hg init repo
$ cd repo $ cd repo
$ echo "[extensions]" >> .hg/hgrc $ echo "[extensions]" >> .hg/hgrc
$ echo "extorder = $TESTDIR/../hgext3rd/extorder.py" >> .hg/hgrc $ echo "extorder=" >> .hg/hgrc
$ echo "rebase =" >> .hg/hgrc $ echo "rebase =" >> .hg/hgrc
$ echo "dummyext1 = $TESTDIR/dummyext1.py" >> .hg/hgrc $ echo "dummyext1 = $TESTDIR/dummyext1.py" >> .hg/hgrc
$ echo "dummyext2 = $TESTDIR/dummyext2.py" >> .hg/hgrc $ echo "dummyext2 = $TESTDIR/dummyext2.py" >> .hg/hgrc
@ -38,4 +38,4 @@ Conflicting deps
$ hg id > out.txt 2>&1 $ hg id > out.txt 2>&1
[1] [1]
$ grep MercurialExtOrderException < out.txt $ grep MercurialExtOrderException < out.txt
hgext_extorder.MercurialExtOrderException: extorder: conflicting extension order hgext.extorder.MercurialExtOrderException: extorder: conflicting extension order

View File

@ -15,7 +15,7 @@ from mercurial import (
) )
if __name__ == '__main__': if __name__ == '__main__':
sys.path.insert(0, os.path.join(os.environ["TESTDIR"], "..", "hgext3rd")) sys.path.insert(0, os.path.join(os.environ["TESTDIR"], "..", "hgext"))
import extutil import extutil

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py > tweakdefaults=
> fastlog=$TESTDIR/../hgext3rd/fastlog.py > fastlog=
> [fbconduit] > [fbconduit]
> host=our.intern.facebook.com > host=our.intern.facebook.com
> protocol=http > protocol=http

View File

@ -7,7 +7,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fastpartialmatch=$TESTDIR/../hgext3rd/fastpartialmatch.py > fastpartialmatch=
> strip= > strip=
> EOF > EOF

View File

@ -7,10 +7,10 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fastpartialmatch=$TESTDIR/../hgext3rd/fastpartialmatch.py > fastpartialmatch=
> strip= > strip=
> histedit= > histedit=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers > evolution=createmarkers
> [ui] > [ui]

View File

@ -7,7 +7,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fastpartialmatch=$TESTDIR/../hgext3rd/fastpartialmatch.py > fastpartialmatch=
> shelve= > shelve=
> [ui] > [ui]
> ssh = python "$TESTDIR/dummyssh" > ssh = python "$TESTDIR/dummyssh"

View File

@ -7,7 +7,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fastpartialmatch=$TESTDIR/../hgext3rd/fastpartialmatch.py > fastpartialmatch=
> strip= > strip=
> histedit= > histedit=
> [ui] > [ui]

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> fastverify=$TESTDIR/../hgext3rd/fastverify.py > fastverify=
> EOF > EOF
Turn manifest verification on and off: Turn manifest verification on and off:

View File

@ -1,8 +1,8 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers, allowunstable > evolution = createmarkers, allowunstable

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> blackbox= > blackbox=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> [experimental] > [experimental]
> evolution = all > evolution = all

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> [experimental] > [experimental]
> evolution = createmarkers, allowunstable > evolution = createmarkers, allowunstable

View File

@ -14,7 +14,7 @@
> unified = 0 > unified = 0
> [extensions] > [extensions]
> rebase= > rebase=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers, allowunstable > evolution=createmarkers, allowunstable
> EOF > EOF
@ -268,7 +268,7 @@ make the top commit non-empty
test histedit compat test histedit compat
$ echo '[extensions]' >> $HGRCPATH $ echo '[extensions]' >> $HGRCPATH
$ echo "fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py" >> $HGRCPATH $ echo "fbhistedit=" >> $HGRCPATH
$ echo "histedit=" >> $HGRCPATH $ echo "histedit=" >> $HGRCPATH
$ hg export -r . $ hg export -r .

View File

@ -1,8 +1,8 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers

View File

@ -1,8 +1,8 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> [fbamend] > [fbamend]
> userestack=True > userestack=True

View File

@ -1,7 +1,7 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers

View File

@ -1,8 +1,8 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers

View File

@ -1,7 +1,7 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers, allowunstable > evolution = createmarkers, allowunstable

View File

@ -2,8 +2,8 @@ Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution.allowdivergence = True > evolution.allowdivergence = True

View File

@ -1,8 +1,8 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> strip= > strip=
> [experimental] > [experimental]

View File

@ -1,10 +1,10 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> debuginhibit=$TESTDIR/../hgext3rd/debuginhibit.py > debuginhibit=
> directaccess=$TESTDIR/../hgext3rd/directaccess.py > directaccess=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> histedit= > histedit=
> rebase= > rebase=
> [experimental] > [experimental]

View File

@ -1,11 +1,11 @@
Set up test environment. Set up test environment.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> strip= > strip=
> tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py > tweakdefaults=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers
> [fbamend] > [fbamend]

View File

@ -2,7 +2,7 @@ Test functionality is present
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> EOF > EOF
$ mkcommit() { $ mkcommit() {
@ -205,7 +205,7 @@ Test that unbookmarked re-amends work well
Test interaction with histedit Test interaction with histedit
$ echo '[extensions]' >> $HGRCPATH $ echo '[extensions]' >> $HGRCPATH
$ echo "fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py" >> $HGRCPATH $ echo "fbhistedit=" >> $HGRCPATH
$ echo "histedit=" >> $HGRCPATH $ echo "histedit=" >> $HGRCPATH
$ hg up tip $ hg up tip
1 files updated, 0 files merged, 0 files removed, 0 files unresolved 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@ -307,7 +307,7 @@ Test that the extension disables itself when evolution is enabled
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> EOF > EOF
noisy warning during amend noisy warning during amend
@ -474,7 +474,7 @@ Test hg amend works with a logfile
Test fbamend with inhibit Test fbamend with inhibit
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> EOF > EOF
$ cd .. $ cd ..
$ hg init inhibitrepo $ hg init inhibitrepo
@ -536,7 +536,7 @@ Prepare a repo for unamend testing
$ cd unamendrepo $ cd unamendrepo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers > evolution=createmarkers
> EOF > EOF
@ -592,7 +592,7 @@ Make sure that unamend does not work without inhibit
Make sure that unamend works as expected with inhibit Make sure that unamend works as expected with inhibit
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> EOF > EOF
$ hg unamend $ hg unamend

View File

@ -10,7 +10,7 @@ Basic functionality.
$ cd basic $ cd basic
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbconduit = $TESTDIR/../hgext3rd/fbconduit.py > fbconduit=
> [fbconduit] > [fbconduit]
> reponame = basic > reponame = basic
> host = localhost:$CONDUIT_PORT > host = localhost:$CONDUIT_PORT
@ -48,7 +48,7 @@ Test with one backing repos specified.
$ hg init single_backingrepo $ hg init single_backingrepo
$ cd single_backingrepo $ cd single_backingrepo
$ echo "[extensions]" >> .hg/hgrc $ echo "[extensions]" >> .hg/hgrc
$ echo "fbconduit = $TESTDIR/../hgext3rd/fbconduit.py" >> .hg/hgrc $ echo "fbconduit=" >> .hg/hgrc
$ echo "[fbconduit]" >> .hg/hgrc $ echo "[fbconduit]" >> .hg/hgrc
$ echo "reponame = single" >> .hg/hgrc $ echo "reponame = single" >> .hg/hgrc
$ echo "backingrepos = single_src" >> .hg/hgrc $ echo "backingrepos = single_src" >> .hg/hgrc
@ -75,7 +75,7 @@ Test with multiple backing repos specified.
$ hg init backingrepos $ hg init backingrepos
$ cd backingrepos $ cd backingrepos
$ echo "[extensions]" >> .hg/hgrc $ echo "[extensions]" >> .hg/hgrc
$ echo "fbconduit = $TESTDIR/../hgext3rd/fbconduit.py" >> .hg/hgrc $ echo "fbconduit=" >> .hg/hgrc
$ echo "[fbconduit]" >> .hg/hgrc $ echo "[fbconduit]" >> .hg/hgrc
$ echo "reponame = multiple" >> .hg/hgrc $ echo "reponame = multiple" >> .hg/hgrc
$ echo "backingrepos = src_a src_b src_c" >> .hg/hgrc $ echo "backingrepos = src_a src_b src_c" >> .hg/hgrc
@ -136,7 +136,7 @@ Test with a bad server port, where we get connection refused errors.
$ hg init errortest $ hg init errortest
$ cd errortest $ cd errortest
$ echo "[extensions]" >> .hg/hgrc $ echo "[extensions]" >> .hg/hgrc
$ echo "fbconduit = $TESTDIR/../hgext3rd/fbconduit.py" >> .hg/hgrc $ echo "fbconduit=" >> .hg/hgrc
$ echo "[fbconduit]" >> .hg/hgrc $ echo "[fbconduit]" >> .hg/hgrc
$ echo "reponame = errortest" >> .hg/hgrc $ echo "reponame = errortest" >> .hg/hgrc
$ echo "host = localhost:9" >> .hg/hgrc $ echo "host = localhost:9" >> .hg/hgrc

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> EOF > EOF

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> EOF > EOF
@ -195,7 +195,6 @@ retry should try to execute the command again and continue if succeeded
> exec exit 2 > exec exit 2
> edit 652413bf663e f > edit 652413bf663e f
> EOF > EOF
[1]
$ hg histedit --retry $ hg histedit --retry
0 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
@ -346,7 +345,7 @@ Test that we can recover exec with fbamend on
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers, allowunstable > evolution=createmarkers, allowunstable
> EOF > EOF

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> [alias] > [alias]
@ -50,7 +50,6 @@ Use histedit to graft an extra commit into current history
> graft 581a2eefdc84 > graft 581a2eefdc84
> pick f9d2e574dc58 > pick f9d2e574dc58
> EOF > EOF
[1]
$ hg tglog $ hg tglog
@ 7:fc9a25c1b8afb917f8e3dacad873f0d0bea14a96:draft 'c' @ 7:fc9a25c1b8afb917f8e3dacad873f0d0bea14a96:draft 'c'

View File

@ -4,7 +4,7 @@ Tests JSON Input support for histedit
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> [experimental] > [experimental]

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> EOF > EOF

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> EOF > EOF

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> EOF > EOF

View File

@ -8,10 +8,10 @@ Setup
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> histedit= > histedit=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers
> EOF > EOF

View File

@ -10,7 +10,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> noinline=$TESTTMP/noinline.py > noinline=$TESTTMP/noinline.py
> fixcorrupt=$TESTDIR/../hgext3rd/fixcorrupt.py > fixcorrupt=
> EOF > EOF
$ rebuildrepo() { $ rebuildrepo() {

View File

@ -2,9 +2,9 @@ Set up test environment.
This test confirms cacheinvalidation in hg fold. This test confirms cacheinvalidation in hg fold.
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> undo=$TESTDIR/../hgext3rd/undo.py > undo=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution = createmarkers, allowunstable > evolution = createmarkers, allowunstable

View File

@ -51,6 +51,6 @@ class BisectTests(unittest.TestCase):
self.assertEqual(bisect(0, len(array) - 1, comp, value), result) self.assertEqual(bisect(0, len(array) - 1, comp, value), result)
if __name__ == '__main__': if __name__ == '__main__':
sys.path.insert(0, os.path.join(os.environ["TESTDIR"], "..", "hgext3rd")) sys.path.insert(0, os.path.join(os.environ["TESTDIR"], "..", "hgext"))
from generic_bisect import bisect from generic_bisect import bisect
silenttestrunner.main(__name__) silenttestrunner.main(__name__)

View File

@ -1,8 +1,8 @@
#testcases onlymapdelta.true onlymapdelta.false #testcases onlymapdelta.true onlymapdelta.false
$ echo "[extensions]" >> $HGRCPATH $ echo "[extensions]" >> $HGRCPATH
$ echo "gitlookup = $TESTDIR/../hgext3rd/gitlookup.py" >> $HGRCPATH $ echo "gitlookup=" >> $HGRCPATH
$ echo "gitrevset = $TESTDIR/../hgext3rd/gitrevset.py" >> $HGRCPATH $ echo "gitrevset=" >> $HGRCPATH
$ echo "strip = " >> $HGRCPATH $ echo "strip = " >> $HGRCPATH
$ echo "[ui]" >> $HGRCPATH $ echo "[ui]" >> $HGRCPATH
$ echo 'ssh = python "$RUNTESTDIR/dummyssh"' >> $HGRCPATH $ echo 'ssh = python "$RUNTESTDIR/dummyssh"' >> $HGRCPATH

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> githelp=$TESTDIR/../hgext3rd/githelp.py > githelp=
> EOF > EOF
$ hg init repo $ hg init repo
@ -277,6 +277,6 @@ githelp for git blame (tweakdefaults disabled)
hg annotate -udl hg annotate -udl
githelp for git blame (tweakdefaults enabled) githelp for git blame (tweakdefaults enabled)
$ hg --config extensions.tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py githelp -- git blame $ hg --config extensions.tweakdefaults= githelp -- git blame
hg annotate -pudl hg annotate -pudl

View File

@ -1,6 +1,6 @@
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH $ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
$ echo "[extensions]" >> $HGRCPATH $ echo "[extensions]" >> $HGRCPATH
$ echo "grepdiff = $TESTDIR/../hgext3rd/grepdiff.py" >> $HGRCPATH $ echo "grepdiff=" >> $HGRCPATH
Setup repo Setup repo

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> grpcheck = $TESTDIR/../hgext3rd/grpcheck.py > grpcheck=
> EOF > EOF
$ hg init repo $ hg init repo

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> hiddenerror=$TESTDIR/../hgext3rd/hiddenerror.py > hiddenerror=
> [experimental] > [experimental]
> evolution=all > evolution=all
> EOF > EOF

View File

@ -3,7 +3,7 @@
> evolution=createmarkers > evolution=createmarkers
> [extensions] > [extensions]
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> EOF > EOF
$ hg init inhibit $ hg init inhibit
@ -124,7 +124,7 @@ Test date is set correctly
$ hg update -q G $ hg update -q G
$ echo 1 >> G $ echo 1 >> G
$ hg commit --amend -m G1 --config devel.default-date='123456 0' $ hg commit --amend -m G1 --config devel.default-date='123456 0'
$ hg unamend --config extensions.fbamend=$TESTDIR/../hgext3rd/fbamend $ hg unamend --config extensions.fbamend=
$ hg debugobsolete | tail -1 $ hg debugobsolete | tail -1
b7e6ea8355346dbbedcb23188c3a5de400e780ae cf43ad9da869111bee585c5475aefe61f6f74649 0 (Fri Jan 02 10:17:37 1970 +0000) {'ef1': '9', 'user': 'test'} b7e6ea8355346dbbedcb23188c3a5de400e780ae cf43ad9da869111bee585c5475aefe61f6f74649 0 (Fri Jan 02 10:17:37 1970 +0000) {'ef1': '9', 'user': 'test'}
$ echo 2 >> G $ echo 2 >> G
@ -136,7 +136,7 @@ Do not use a mocked date
> %unset default-date > %unset default-date
> EOF > EOF
$ hg commit --amend -m G2 $ hg commit --amend -m G2
$ hg unamend --config extensions.fbamend=$TESTDIR/../hgext3rd/fbamend $ hg unamend --config extensions.fbamend=
$ hg debugobsolete | tail -1 $ hg debugobsolete | tail -1
51313a3d2b65bd2cbc4828a7309af84eb5914bdb cf43ad9da869111bee585c5475aefe61f6f74649 0 (*) {'ef1': '9', 'user': 'test'} (glob) 51313a3d2b65bd2cbc4828a7309af84eb5914bdb cf43ad9da869111bee585c5475aefe61f6f74649 0 (*) {'ef1': '9', 'user': 'test'} (glob)
$ hg debugobsolete | tail -1 | grep ' 1970 +0000' $ hg debugobsolete | tail -1 | grep ' 1970 +0000'

View File

@ -6,7 +6,7 @@ import sys
# make it runnable using python directly without run-tests.py # make it runnable using python directly without run-tests.py
sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')] sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
from hgext3rd.lfs import pointer from hgext.lfs import pointer
def tryparse(text): def tryparse(text):
r = {} r = {}

View File

@ -11,7 +11,7 @@ Require lfs-test-server (https://github.com/git-lfs/lfs-test-server)
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> lfs=$TESTDIR/../hgext3rd/lfs > lfs=
> [lfs] > [lfs]
> url=http://foo:bar@$LFS_HOST/ > url=http://foo:bar@$LFS_HOST/
> threshold=1 > threshold=1

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> lfs=$TESTDIR/../hgext3rd/lfs/ > lfs=
> [lfs] > [lfs]
> threshold=1000B > threshold=1000B
> EOF > EOF
@ -416,7 +416,7 @@
$ cd repo10 $ cd repo10
$ cat >> .hg/hgrc << EOF $ cat >> .hg/hgrc << EOF
> [extensions] > [extensions]
> lfs=$TESTDIR/../hgext3rd/lfs/ > lfs=
> [lfs] > [lfs]
> threshold=1 > threshold=1
> EOF > EOF

View File

@ -4,7 +4,7 @@
$ hg init $ hg init
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> conflictinfo=$TESTDIR/../hgext3rd/conflictinfo.py > conflictinfo=
> EOF > EOF
2) Can't run dumpjson outside a conflict 2) Can't run dumpjson outside a conflict
@ -104,7 +104,7 @@ Setup
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> rebase= > rebase=
> conflictinfo=$TESTDIR/../hgext3rd/conflictinfo.py > conflictinfo=
> EOF > EOF
$ reset() { $ reset() {

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> mergedriver=$TESTDIR/../hgext3rd/mergedriver.py > mergedriver=
> EOF > EOF
basic merge driver: just lists out files and contents, doesn't resolve any files basic merge driver: just lists out files and contents, doesn't resolve any files

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> morecolors=$TESTDIR/../hgext3rd/morecolors.py > morecolors=
> [ui] > [ui]
> color=always > color=always
> [color] > [color]

View File

@ -2,11 +2,11 @@
> [morestatus] > [morestatus]
> show=True > show=True
> [extensions] > [extensions]
> morestatus=$TESTDIR/../hgext3rd/morestatus.py > morestatus=
> fbhistedit=$TESTDIR/../hgext3rd/fbhistedit.py > fbhistedit=
> histedit= > histedit=
> rebase= > rebase=
> reset=$TESTDIR/../hgext3rd/reset.py > reset=
> EOF > EOF
$ cat >> $TESTTMP/breakupdate.py << EOF $ cat >> $TESTTMP/breakupdate.py << EOF
> import sys > import sys

View File

@ -4,7 +4,7 @@ Setup
$ export PYTHONPATH $ export PYTHONPATH
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> myparent=$TESTDIR/../hgext3rd/myparent.py > myparent=
> EOF > EOF
$ hg init repo $ hg init repo
$ cd repo $ cd repo

View File

@ -45,7 +45,7 @@ Test ctrl-c
[124] [124]
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> nointerrupt = $TESTDIR/../hgext3rd/nointerrupt.py > nointerrupt=
> [alias] > [alias]
> slumber = sleep > slumber = sleep
> [nointerrupt] > [nointerrupt]

View File

@ -4,7 +4,7 @@
$ cat <<EOF >> $HGRCPATH $ cat <<EOF >> $HGRCPATH
> [extensions] > [extensions]
> mq = > mq =
> obsshelve=$TESTDIR/../hgext3rd/obsshelve.py > obsshelve=
> [defaults] > [defaults]
> diff = --nodates --git > diff = --nodates --git
> qnew = --date '0 0' > qnew = --date '0 0'
@ -1058,7 +1058,7 @@ Wreak havoc on the unshelve process
$ rm .hg/unshelverebasestate $ rm .hg/unshelverebasestate
$ hg unshelve --abort $ hg unshelve --abort
unshelve of 'default' aborted unshelve of 'default' aborted
abort: (No such file or directory|The system cannot find the file specified) (re) abort: $ENOENT$
[255] [255]
Can the user leave the current state? Can the user leave the current state?
$ hg up -C . $ hg up -C .
@ -1564,7 +1564,7 @@ Unshelving a stripped commit aborts with an explanatory message
[255] [255]
Enabling both shelve and obsshelve should not be allowed Enabling both shelve and obsshelve should not be allowed
$ hg --config extensions.obsshelve=$TESTDIR/../hgext3rd/obsshelve.py --config extensions.shelve= log -r . $ hg --config extensions.obsshelve= --config extensions.shelve= log -r .
extension 'shelve' overrides commands: * (glob) extension 'shelve' overrides commands: * (glob)
abort: shelve must be disabled when obsshelve is enabled abort: shelve must be disabled when obsshelve is enabled
[255] [255]

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> ownercheck=$TESTDIR/../hgext3rd/ownercheck.py > ownercheck=
> EOF > EOF
ownercheck does not prevent normal hg operations ownercheck does not prevent normal hg operations

View File

@ -11,7 +11,7 @@ except ImportError:
import socketserver as SocketServer import socketserver as SocketServer
# Make sure we use patchpython.py in this repo, unaffected by PYTHONPATH # Make sure we use patchpython.py in this repo, unaffected by PYTHONPATH
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../hgext3rd')) sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../hgext'))
import patchpython import patchpython
assert patchpython # pass pyflakes "import but unused" check assert patchpython # pass pyflakes "import but unused" check

View File

@ -4,8 +4,8 @@
> [ui] > [ui]
> ssh=python "$TESTDIR/dummyssh" > ssh=python "$TESTDIR/dummyssh"
> [extensions] > [extensions]
> perftweaks=$TESTDIR/../hgext3rd/perftweaks.py > perftweaks=
> tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py > tweakdefaults=
> remotenames= > remotenames=
> rebase= > rebase=
> EOF > EOF

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> drawdag=$RUNTESTDIR/drawdag.py > drawdag=$RUNTESTDIR/drawdag.py
> perftweaks=$TESTDIR/../hgext3rd/perftweaks.py > perftweaks=
> EOF > EOF
Test disabling the tag cache Test disabling the tag cache
@ -191,7 +191,7 @@ We need to disable the SCM_SAMPLING_FILEPATH env var because arcanist may set it
> key.sparse_profiles=sparse_profiles > key.sparse_profiles=sparse_profiles
> filepath = $LOGDIR/samplingpath.txt > filepath = $LOGDIR/samplingpath.txt
> [extensions] > [extensions]
> sampling=$TESTDIR/../hgext3rd/sampling.py > sampling=
> EOF > EOF
$ PYTHONPATH=$TESTDIR/..:$PYTHONPATH $ PYTHONPATH=$TESTDIR/..:$PYTHONPATH
$ export PYTHONPATH $ export PYTHONPATH
@ -202,12 +202,12 @@ We need to disable the SCM_SAMPLING_FILEPATH env var because arcanist may set it
... data = f.read() ... data = f.read()
>>> for record in data.strip("\0").split("\0"): >>> for record in data.strip("\0").split("\0"):
... parsedrecord = json.loads(record) ... parsedrecord = json.loads(record)
... print '{0}: {1}'.format(parsedrecord['category'], ... print('{0}: {1}'.format(parsedrecord['category'],
... parsedrecord['data']['dirstate_size']) ... parsedrecord['data']['dirstate_size']))
dirstate_size: 1 dirstate_size: 1
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> EOF > EOF
$ cat >> profile_base << EOF $ cat >> profile_base << EOF
> [include] > [include]
@ -225,7 +225,7 @@ We need to disable the SCM_SAMPLING_FILEPATH env var because arcanist may set it
>>> for record in data.strip("\0").split("\0"): >>> for record in data.strip("\0").split("\0"):
... parsedrecord = json.loads(record) ... parsedrecord = json.loads(record)
... if parsedrecord['category'] == 'sparse_profiles': ... if parsedrecord['category'] == 'sparse_profiles':
... print 'active_profiles:', parsedrecord['data']['active_profiles'] ... print('active_profiles:', parsedrecord['data']['active_profiles'])
active_profiles: active_profiles:
active_profiles: active_profiles:
active_profiles: profile_base,profile_extended active_profiles: profile_base,profile_extended

View File

@ -1,7 +1,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> phrevset=$TESTDIR/../hgext3rd/phrevset.py > phrevset=
> EOF > EOF
$ hg init repo $ hg init repo
$ cd repo $ cd repo

View File

@ -14,13 +14,13 @@ Test that hg pull creates obsolescence markers for landed diffs
> evolution= createmarkers > evolution= createmarkers
> rebaseskipobsolete=True > rebaseskipobsolete=True
> [extensions] > [extensions]
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> strip= > strip=
> rebase= > rebase=
> remotenames = > remotenames =
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> pullcreatemarkers= $TESTDIR/../hgext3rd/pullcreatemarkers.py > pullcreatemarkers=
> [fbamend] > [fbamend]
> safestrip=false > safestrip=false
> [remotenames] > [remotenames]

View File

@ -14,13 +14,13 @@ Test that hg pull creates obsolescence markers for landed diffs
> evolution= createmarkers > evolution= createmarkers
> rebaseskipobsolete=True > rebaseskipobsolete=True
> [extensions] > [extensions]
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> strip= > strip=
> rebase= > rebase=
> remotenames = > remotenames =
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> pullcreatemarkers= $TESTDIR/../hgext3rd/pullcreatemarkers.py > pullcreatemarkers=
> [remotenames] > [remotenames]
> allownonfastforward=True > allownonfastforward=True
> [fbamend] > [fbamend]

View File

@ -17,7 +17,7 @@ Setup pushrebase required repo
$ cd server $ cd server
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> [pushrebase] > [pushrebase]
> blocknonpushrebase = True > blocknonpushrebase = True
> EOF > EOF
@ -54,7 +54,7 @@ Non-pushrebase pushes should be rejected
Pushrebase pushes should be allowed Pushrebase pushes should be allowed
$ hg push --config "extensions.pushrebase=$TESTDIR/../hgext3rd/pushrebase.py" --to master -B master $ hg push --config "extensions.pushrebase=" --to master -B master
pushing to $TESTTMP/server (glob) pushing to $TESTTMP/server (glob)
searching for changes searching for changes
pushing 1 changeset: pushing 1 changeset:

View File

@ -16,7 +16,7 @@ Set up server repository
$ cd server $ cd server
$ cat >> .hg/hgrc << EOF $ cat >> .hg/hgrc << EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = ! > remotenames = !
> [experimental] > [experimental]
> bundle2-exp=True > bundle2-exp=True
@ -42,7 +42,7 @@ Test that pushing to a remotename gets rebased
$ cat >> .hg/hgrc << EOF $ cat >> .hg/hgrc << EOF
> [extensions] > [extensions]
> remotenames = > remotenames =
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> [remotenames] > [remotenames]
> allownonfastforward=True > allownonfastforward=True
> [experimental] > [experimental]
@ -242,7 +242,7 @@ Test force pushes
$ cd forcepushserver $ cd forcepushserver
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = ! > remotenames = !
> [experimental] > [experimental]
> bundle2-exp=True > bundle2-exp=True
@ -258,7 +258,7 @@ Test force pushes
$ cd ../forcepushclient $ cd ../forcepushclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = > remotenames =
> [remotenames] > [remotenames]
> allownonfastforward=True > allownonfastforward=True
@ -297,7 +297,7 @@ Test 'hg push' with a tracking bookmark
$ cd trackingserver $ cd trackingserver
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = ! > remotenames = !
> [experimental] > [experimental]
> bundle2-exp=True > bundle2-exp=True
@ -309,7 +309,7 @@ Test 'hg push' with a tracking bookmark
$ cd trackingclient $ cd trackingclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = > remotenames =
> [remotenames] > [remotenames]
> allownonfastforward=True > allownonfastforward=True
@ -359,7 +359,7 @@ Test push --to to a repo without pushrebase on (i.e. the default remotenames beh
$ cd newclient $ cd newclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> remotenames = > remotenames =
> [experimental] > [experimental]
> bundle2-exp=True > bundle2-exp=True
@ -394,7 +394,7 @@ that requires pushrebase.
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> remotenames = > remotenames =
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> [experimental] > [experimental]
> bundle2-exp=True > bundle2-exp=True
> [pushrebase] > [pushrebase]

View File

@ -529,7 +529,7 @@ Test that the prepushrebase hook can run against the bundle repo
> [hooks] > [hooks]
> prepushrebase = $TESTTMP/prerebase.sh > prepushrebase = $TESTTMP/prerebase.sh
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> [experimental] > [experimental]
> bundle2lazylocking = True > bundle2lazylocking = True
> EOF > EOF
@ -549,7 +549,7 @@ Test that the prepushrebase hook can run against the bundle repo
$ cd prepushrebaseclient $ cd prepushrebaseclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ touch b && hg add b && hg commit -qm b $ touch b && hg add b && hg commit -qm b
$ hg push --to master $ hg push --to master
@ -562,7 +562,7 @@ Test that the prepushrebase hook can run against the bundle repo
remote: summary: b remote: summary: b
remote: remote:
remote: Checking if lock exists (it should not): remote: Checking if lock exists (it should not):
remote: ls: *.hg/store/lock*: No such file or directory (glob) remote: ls: *.hg/store/lock*: $ENOENT$ (glob)
remote: prepushrebase hook exited with status * (glob) remote: prepushrebase hook exited with status * (glob)
abort: push failed on remote abort: push failed on remote
[255] [255]
@ -586,7 +586,7 @@ Test that hooks are fired with the correct variables
> prepushrebase = python "$RUNTESTDIR/printenv.py" prepushrebase > prepushrebase = python "$RUNTESTDIR/printenv.py" prepushrebase
> prepushkey = python "$RUNTESTDIR/printenv.py" prepushkey > prepushkey = python "$RUNTESTDIR/printenv.py" prepushkey
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ touch file && hg ci -Aqm initial $ touch file && hg ci -Aqm initial
pretxnclose hook: HG_HOOKNAME=pretxnclose HG_HOOKTYPE=pretxnclose HG_PENDING=$TESTTMP/hookserver HG_PHASES_MOVED=1 HG_TXNID=TXN:* HG_TXNNAME=commit (glob) pretxnclose hook: HG_HOOKNAME=pretxnclose HG_HOOKTYPE=pretxnclose HG_PENDING=$TESTTMP/hookserver HG_PHASES_MOVED=1 HG_TXNID=TXN:* HG_TXNNAME=commit (glob)
@ -604,7 +604,7 @@ Test that hooks are fired with the correct variables
$ cd hookclient $ cd hookclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ hg update master $ hg update master
0 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
@ -640,7 +640,7 @@ Test date rewriting
$ cd rewritedate $ cd rewritedate
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> [pushrebase] > [pushrebase]
> rewritedates = True > rewritedates = True
> EOF > EOF
@ -655,7 +655,7 @@ Test date rewriting
$ cd rewritedateclient $ cd rewritedateclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ hg up 0 $ hg up 0
0 files updated, 0 files merged, 1 files removed, 0 files unresolved 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
@ -727,7 +727,7 @@ Test pushrebase on merge commit where master is on the p2 side
$ cd p2mergeserver $ cd p2mergeserver
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ echo a >> a && hg commit -Aqm 'add a' $ echo a >> a && hg commit -Aqm 'add a'
$ hg bookmark master $ hg bookmark master
@ -737,7 +737,7 @@ Test pushrebase on merge commit where master is on the p2 side
$ cd p2mergeclient $ cd p2mergeclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ hg up -q null $ hg up -q null
$ echo b >> b && hg commit -Aqm 'add b' $ echo b >> b && hg commit -Aqm 'add b'
@ -783,7 +783,7 @@ Test force pushes
$ cd forcepushserver $ cd forcepushserver
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ echo a > a && hg commit -Aqm a $ echo a > a && hg commit -Aqm a
$ cd .. $ cd ..
@ -797,7 +797,7 @@ Test force pushes
$ cd ../forcepushclient $ cd ../forcepushclient
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ hg up 0 $ hg up 0
0 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
@ -829,7 +829,7 @@ Make sure that no hg-bundle-* files left
(the '|| true' and '*' prefix is because ls has different behavior on linux (the '|| true' and '*' prefix is because ls has different behavior on linux
and osx) and osx)
$ ls ../server/.hg/hg-bundle-* || true $ ls ../server/.hg/hg-bundle-* || true
ls: *../server/.hg/hg-bundle-*: No such file or directory (glob) ls: *../server/.hg/hg-bundle-*: $ENOENT$ (glob)
Server with obsstore disabled can still send obsmarkers useful to client, and Server with obsstore disabled can still send obsmarkers useful to client, and
phase is updated correctly with the marker information. phase is updated correctly with the marker information.
@ -844,7 +844,7 @@ phase is updated correctly with the marker information.
$ cd server1 $ cd server1
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ echo a > a $ echo a > a
$ hg commit -m a -A a -q $ hg commit -m a -A a -q
@ -904,7 +904,7 @@ Push a file-copy changeset and the copy source gets modified by others:
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> pushrebase=$TESTDIR/../hgext3rd/pushrebase.py > pushrebase=
> EOF > EOF
$ echo 1 > A $ echo 1 > A

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> rage=$TESTDIR/../hgext3rd/rage.py > rage=
> EOF > EOF
$ hg init repo $ hg init repo

View File

@ -14,7 +14,7 @@
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> remoteid=$TESTDIR/../hgext3rd/remoteid.py > remoteid=
> [remotefilelog] > [remotefilelog]
> server=True > server=True
> EOF > EOF

View File

@ -1,7 +1,7 @@
$ . $TESTDIR/require-ext.sh remotenames $ . $TESTDIR/require-ext.sh remotenames
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> reset=$TESTDIR/../hgext3rd/reset.py > reset=
> remotenames= > remotenames=
> EOF > EOF

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> reset=$TESTDIR/../hgext3rd/reset.py > reset=
> EOF > EOF
$ hg init repo $ hg init repo
@ -153,7 +153,7 @@ Reset + Obsolete tests
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> rebase= > rebase=
> [experimental] > [experimental]
> evolution=all > evolution=all
@ -196,8 +196,8 @@ Reset + Inhibit tests, with inhibit reset revives the same commit
$ cat >> .hg/hgrc <<EOF $ cat >> .hg/hgrc <<EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> EOF > EOF

View File

@ -40,7 +40,7 @@ logged
> [sampling] > [sampling]
> key.commit=commit_table > key.commit=commit_table
> [extensions] > [extensions]
> sampling=$TESTDIR/../hgext3rd/sampling.py > sampling=
> EOF > EOF
$ LOGDIR=`pwd`/logs $ LOGDIR=`pwd`/logs
$ mkdir $LOGDIR $ mkdir $LOGDIR

View File

@ -1,6 +1,6 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> show=$TESTDIR/../hgext3rd/fbshow.py > show=$TESTDIR/../hgext/fbshow.py
> EOF > EOF
We assume that log basically works (it has its own tests). This just covers uses We assume that log basically works (it has its own tests). This just covers uses

View File

@ -13,7 +13,7 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> sigtrace=$TESTDIR/../hgext3rd/sigtrace.py > sigtrace=
> signal=$TESTTMP/signal.py > signal=$TESTTMP/signal.py
> [sigtrace] > [sigtrace]
> pathformat=$TESTTMP/dump-%(pid)s-%(time)s.log > pathformat=$TESTTMP/dump-%(pid)s-%(time)s.log

View File

@ -4,7 +4,7 @@ Setup the extension
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> simplecache=$TESTDIR/../hgext3rd/simplecache.py > simplecache=
> [simplecache] > [simplecache]
> cachedir=$TESTTMP/hgsimplecache > cachedir=$TESTTMP/hgsimplecache
> caches=memcache > caches=memcache

View File

@ -1,8 +1,8 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> smartlog=$TESTDIR/../hgext3rd/smartlog.py > smartlog=
> [experimental] > [experimental]
> evolution = createmarkers > evolution = createmarkers
> EOF > EOF

View File

@ -1,11 +1,11 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> histedit= > histedit=
> inhibit=$TESTDIR/../hgext3rd/inhibit.py > inhibit=
> rebase= > rebase=
> smartlog=$TESTDIR/../hgext3rd/smartlog.py > smartlog=
> tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py > tweakdefaults=
> [tweakdefaults] > [tweakdefaults]
> histeditkeepdate = true > histeditkeepdate = true
> [experimental] > [experimental]

View File

@ -1,7 +1,7 @@
$ . $TESTDIR/require-ext.sh remotenames $ . $TESTDIR/require-ext.sh remotenames
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> smartlog=$TESTDIR/../hgext3rd/smartlog.py > smartlog=
> remotenames= > remotenames=
> EOF > EOF

View File

@ -1,9 +1,9 @@
$ cat >> $HGRCPATH << EOF $ cat >> $HGRCPATH << EOF
> [extensions] > [extensions]
> rebase= > rebase=
> smartlog=$TESTDIR/../hgext3rd/smartlog.py > smartlog=
> tweakdefaults=$TESTDIR/../hgext3rd/tweakdefaults.py > tweakdefaults=
> fbamend=$TESTDIR/../hgext3rd/fbamend > fbamend=
> [experimental] > [experimental]
> evolution=createmarkers > evolution=createmarkers
> evolution.allowdivergence=on > evolution.allowdivergence=on

View File

@ -2,7 +2,7 @@
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> smartlog = $TESTDIR/../hgext3rd/smartlog.py > smartlog=
> [experimental] > [experimental]
> graphstyle.grandparent=| > graphstyle.grandparent=|
> graphstyle.missing=| > graphstyle.missing=|

View File

@ -4,7 +4,7 @@ test sparse
$ cd myrepo $ cd myrepo
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> purge= > purge=
> strip= > strip=
> rebase= > rebase=

View File

@ -5,7 +5,7 @@ test sparse
> ssh = python "$RUNTESTDIR/dummyssh" > ssh = python "$RUNTESTDIR/dummyssh"
> username = nobody <no.reply@fb.com> > username = nobody <no.reply@fb.com>
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> purge= > purge=
> strip= > strip=
> rebase= > rebase=

View File

@ -2,7 +2,7 @@
$ cd repo $ cd repo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> EOF > EOF
$ mkdir show hide $ mkdir show hide
$ echo show-modify-1 > show/modify $ echo show-modify-1 > show/modify

View File

@ -4,7 +4,7 @@ test sparse interaction with other extensions
$ cd myrepo $ cd myrepo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> strip= > strip=
> [simplecache] > [simplecache]
> cachedir=$TESTTMP/hgsimplecache > cachedir=$TESTTMP/hgsimplecache
@ -12,7 +12,7 @@ test sparse interaction with other extensions
Test integration with simplecache for profile reads Test integration with simplecache for profile reads
$ $PYTHON -c 'import hgext3rd.simplecache' || exit 80 $ $PYTHON -c 'import hgext.simplecache' || exit 80
$ printf "[include]\nfoo\n" > .hgsparse $ printf "[include]\nfoo\n" > .hgsparse
$ hg add .hgsparse $ hg add .hgsparse
$ hg commit -qm 'Add profile' $ hg commit -qm 'Add profile'

View File

@ -4,7 +4,7 @@ test sparse
$ cd myrepo $ cd myrepo
$ cat >> $HGRCPATH <<EOF $ cat >> $HGRCPATH <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> purge= > purge=
> strip= > strip=
> rebase= > rebase=

View File

@ -4,7 +4,7 @@ test merging things outside of the sparse checkout
$ cd myrepo $ cd myrepo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> EOF > EOF
$ echo foo > foo $ echo foo > foo

View File

@ -7,7 +7,7 @@ First create a base repository with sparse enabled.
$ cd base $ cd base
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> journal= > journal=
> EOF > EOF

View File

@ -4,7 +4,7 @@ test sparse
$ cd myrepo $ cd myrepo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> purge= > purge=
> strip= > strip=
> rebase= > rebase=
@ -252,7 +252,7 @@ Test file permissions changing across a sparse profile change
$ cd sparseperm $ cd sparseperm
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> EOF > EOF
$ touch a b $ touch a b
$ cat > .hgsparse <<EOF $ cat > .hgsparse <<EOF
@ -278,7 +278,7 @@ Test profile discovery
$ cd sparseprofiles $ cd sparseprofiles
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> EOF > EOF
$ mkdir -p profiles/foo profiles/bar $ mkdir -p profiles/foo profiles/bar
$ touch profiles/README.txt $ touch profiles/README.txt

View File

@ -2,7 +2,7 @@
$ cd repo $ cd repo
$ cat > .hg/hgrc <<EOF $ cat > .hg/hgrc <<EOF
> [extensions] > [extensions]
> sparse=$TESTDIR/../hgext3rd/fbsparse.py > sparse=$TESTDIR/../hgext/fbsparse.py
> dragdag=$RUNTESTDIR/drawdag.py > dragdag=$RUNTESTDIR/drawdag.py
> rebase= > rebase=
> EOF > EOF

Some files were not shown because too many files have changed in this diff Show More