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
1c55d1add24f
Commit
1c55d1add24f
authored
12 years ago
by
Adrian Buehlmann
Browse files
Options
Downloads
Patches
Plain Diff
test-keyword: adapt for Windows
parent
09305d7745dd
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-keyword.t
+10
-4
10 additions, 4 deletions
tests/test-keyword.t
with
10 additions
and
4 deletions
tests/test-keyword.t
+
10
−
4
View file @
1c55d1ad
$
"
$TESTDIR
/hghave
"
unix
-
permissions
serve
||
exit
80
$
cat
<<
EOF
>>
$HGRCPATH
>
[
extensions
]
>
keyword
=
...
...
@@ -297,6 +295,7 @@
$
echo
'
$Id$
'
>
c
$
echo
'
tests for different changenodes
'
>>
c
#if unix-permissions
$
chmod
600
c
$
ls
-
l
c
|
cut
-
b
1
-
10
-
rw
-------
...
...
@@ -300,8 +299,9 @@
$
chmod
600
c
$
ls
-
l
c
|
cut
-
b
1
-
10
-
rw
-------
#endif
commit
file
c
$
hg
commit
-
A
-
mcndiff
-
d
'
1 0
'
-
u
'
User Name <user@example.com>
'
adding
c
...
...
@@ -303,7 +303,8 @@
commit
file
c
$
hg
commit
-
A
-
mcndiff
-
d
'
1 0
'
-
u
'
User Name <user@example.com>
'
adding
c
#if unix-permissions
$
ls
-
l
c
|
cut
-
b
1
-
10
-
rw
-------
...
...
@@ -308,5 +309,6 @@
$
ls
-
l
c
|
cut
-
b
1
-
10
-
rw
-------
#endif
force
expansion
...
...
@@ -330,6 +332,6 @@
record
chunk
>>>
lines
=
open
('
a
')
.
readlines
()
>>>
lines
=
open
('
a
'
,
'
rb
'
)
.
readlines
()
>>>
lines
.
insert
(
1
,
'
foo\n
')
>>>
lines
.
append
('
bar\n
')
...
...
@@ -334,6 +336,6 @@
>>>
lines
.
insert
(
1
,
'
foo\n
')
>>>
lines
.
append
('
bar\n
')
>>>
open
('
a
',
'
w
')
.
writelines
(
lines
)
>>>
open
('
a
',
'
w
b
')
.
writelines
(
lines
)
$
hg
record
-
d
'
10 1
'
-
m rectest a<<EOF
> y
> y
...
...
@@ -612,6 +614,7 @@
cp
symlink
file
;
hg
cp
-
A
symlink
file
(
part1
)
-
copied
symlink
points
to
kwfile:
overwrite
#if symlink
$
cp
sym
i
$
ls
-
l
i
-
rw
-
r
--
r
--*
(
glob
)
...
...
@@ -624,6 +627,7 @@
expand
$Id
$
$
hg
forget
i
$
rm
i
#endif
Test
different
options
of
hg
kwfiles
...
...
@@ -924,6 +928,7 @@
nonexistent:* (glob)
#if serve
hg serve
- expand with hgweb file
- no expansion with hgweb annotate/changeset/filediff
...
...
@@ -987,6 +992,7 @@
$ cat errors.log
#endif
Prepare merge and resolve tests
...
...
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