Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
dcd3c47e
Commit
dcd3c47e
authored
11 years ago
by
Katsunori FUJIWARA
Browse files
Options
Downloads
Patches
Plain Diff
tests: end output lines including path with "(glob)" to pass on Windows
parent
83347ff5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-extension.t
+26
-26
26 additions, 26 deletions
tests/test-extension.t
with
26 additions
and
26 deletions
tests/test-extension.t
+
26
−
26
View file @
dcd3c47e
...
...
@@ -157,7 +157,7 @@
> EOF
$ (PYTHONPATH=
$
{
PYTHONPATH
}
$
{
PATHSEP
}
$
{
TESTTMP
}
/
libroot
;
hg
--
config
extensions
.
loadabs
=
loadabs
.
py
root
)
ambigabs
.
s=libroot/ambig.py
$TESTTMP/a
$TESTTMP/a
(glob)
#endif
#if no-py3k
...
...
@@ -172,7 +172,7 @@
> EOF
$ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}/libroot; hg --config extensions.loadrel=loadrel.py root)
ambigrel.s=libroot/mod/ambig.py
$TESTTMP/a
$TESTTMP/a
(glob)
#endif
Check absolute/relative import of extension specific modules
...
...
@@ -227,7 +227,7 @@
(
extroot
)
import
extroot:
this
is
extroot
.
__init__
(
extroot
)
from
extroot
.
bar
import
s: this is extroot.bar
(extroot) import extroot.bar in func(): this is extroot.bar
$TESTTMP/a
$TESTTMP/a
(glob)
#if no-py3k
$ rm "$TESTTMP"/extroot/foo.*
...
...
@@ -263,7 +263,7 @@
(extroot) import sub1: this is extroot.sub1.__init__
(extroot) from bar import s: this is extroot.bar
(extroot) import bar in func(): this is extroot.bar
$TESTTMP/a
$TESTTMP/a
(glob)
#endif
$ cd ..
...
...
@@ -739,6 +739,6 @@
$
echo
'
# enable extension locally
'
>>
src
/.hg/
hgrc
$
echo
"
reposetuptest =
$TESTTMP
/reposetuptest.py
"
>>
src
/.hg/
hgrc
$
hg
-
R
src
status
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
hg
clone
-
U
src
clone
-
dst1
...
...
@@ -743,5 +743,5 @@
$
hg
clone
-
U
src
clone
-
dst1
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
hg
init
push
-
dst1
$
hg
-
q -R
src
push
push
-
dst1
...
...
@@ -746,5 +746,5 @@
$
hg
init
push
-
dst1
$
hg
-
q -R
src
push
push
-
dst1
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
hg
init
pull
-
src1
$
hg
-
q -R
pull
-
src1
pull
src
...
...
@@ -749,8 +749,8 @@
$
hg
init
pull
-
src1
$
hg
-
q -R
pull
-
src1
pull
src
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
echo
'
[extensions]
'
>>
$HGRCPATH
$
echo
'
# disable extension globally and explicitly
'
>>
$HGRCPATH
$
echo
'
reposetuptest = !
'
>>
$HGRCPATH
$
hg
clone
-
U
src
clone
-
dst2
...
...
@@ -752,8 +752,8 @@
$
echo
'
[extensions]
'
>>
$HGRCPATH
$
echo
'
# disable extension globally and explicitly
'
>>
$HGRCPATH
$
echo
'
reposetuptest = !
'
>>
$HGRCPATH
$
hg
clone
-
U
src
clone
-
dst2
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
hg
init
push
-
dst2
$
hg
-
q -R
src
push
push
-
dst2
...
...
@@ -758,5 +758,5 @@
$
hg
init
push
-
dst2
$
hg
-
q -R
src
push
push
-
dst2
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
hg
init
pull
-
src2
$
hg
-
q -R
pull
-
src2
pull
src
...
...
@@ -761,8 +761,8 @@
$
hg
init
pull
-
src2
$
hg
-
q -R
pull
-
src2
pull
src
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
echo
'
[extensions]
'
>>
$HGRCPATH
$
echo
'
# enable extension globally
'
>>
$HGRCPATH
$
echo
"
reposetuptest =
$TESTTMP
/reposetuptest.py
"
>>
$HGRCPATH
$
hg
clone
-
U
src
clone
-
dst3
...
...
@@ -764,8 +764,8 @@
$
echo
'
[extensions]
'
>>
$HGRCPATH
$
echo
'
# enable extension globally
'
>>
$HGRCPATH
$
echo
"
reposetuptest =
$TESTTMP
/reposetuptest.py
"
>>
$HGRCPATH
$
hg
clone
-
U
src
clone
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/clon
e
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
reposetup
()
for
$TESTTMP
/reposetup-test/clon
e
-
dst3
(
glob
)
$
hg
init
push
-
dst3
...
...
@@ -771,3 +771,3 @@
$
hg
init
push
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst3
(
glob
)
$
hg
-
q -R
src
push
push
-
dst3
...
...
@@ -773,4 +773,4 @@
$
hg
-
q -R
src
push
push
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst3
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst3
(
glob
)
$
hg
init
pull
-
src3
...
...
@@ -776,3 +776,3 @@
$
hg
init
pull
-
src3
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src3
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src3
(
glob
)
$
hg
-
q -R
pull
-
src3
pull
src
...
...
@@ -778,8 +778,8 @@
$
hg
-
q -R
pull
-
src3
pull
src
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src3
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src3
(
glob
)
reposetup
()
for
$TESTTMP
/reposetup-test/s
rc
(
glob
)
$
echo
'
[extensions]
'
>>
src
/.hg/
hgrc
$
echo
'
# disable extension locally
'
>>
src
/.hg/
hgrc
$
echo
'
reposetuptest = !
'
>>
src
/.hg/
hgrc
$
hg
clone
-
U
src
clone
-
dst4
...
...
@@ -781,7 +781,7 @@
$
echo
'
[extensions]
'
>>
src
/.hg/
hgrc
$
echo
'
# disable extension locally
'
>>
src
/.hg/
hgrc
$
echo
'
reposetuptest = !
'
>>
src
/.hg/
hgrc
$
hg
clone
-
U
src
clone
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/clon
e
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/clon
e
-
dst4
(
glob
)
$
hg
init
push
-
dst4
...
...
@@ -787,3 +787,3 @@
$
hg
init
push
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst4
(
glob
)
$
hg
-
q -R
src
push
push
-
dst4
...
...
@@ -789,3 +789,3 @@
$
hg
-
q -R
src
push
push
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst4
reposetup
()
for
$TESTTMP
/reposetup-test/pus
h
-
dst4
(
glob
)
$
hg
init
pull
-
src4
...
...
@@ -791,3 +791,3 @@
$
hg
init
pull
-
src4
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src4
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src4
(
glob
)
$
hg
-
q -R
pull
-
src4
pull
src
...
...
@@ -793,5 +793,5 @@
$
hg
-
q -R
pull
-
src4
pull
src
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src4
reposetup
()
for
$TESTTMP
/reposetup-test/pull
-
src4
(
glob
)
disabling
in
command
line
overlays
with
all
configuration
$
hg
--
config
extensions
.
reposetuptest
=!
clone
-
U
src
clone
-
dst5
...
...
@@ -834,8 +834,8 @@
$
echo
"
reposetuptest =
$TESTTMP
/reposetuptest.py
"
>>
parent
/.hg/
hgrc
$
cp
parent
/.hg/
hgrc
parent
/sub2/
.
hg
/
hgrc
$
hg
-
R
parent
status
-
S
-
A
reposetup
()
for
$TESTTMP
/reposetup-test/pa
rent
reposetup
()
for
$TESTTMP
/reposetup-test/pa
rent
/
sub2
reposetup
()
for
$TESTTMP
/reposetup-test/pa
rent
(
glob
)
reposetup
()
for
$TESTTMP
/reposetup-test/pa
rent
/
sub2
(
glob
)
C
.
hgsub
C
.
hgsubstate
C
sub1
/
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment