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
5007ff32
Commit
5007ff32
authored
14 years ago
by
Martin Geisler
Browse files
Options
Downloads
Patches
Plain Diff
eol: test win32text compatible encode/decode filters
parent
c0f25275
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-eol.t
+28
-0
28 additions, 0 deletions
tests/test-eol.t
with
28 additions
and
0 deletions
tests/test-eol.t
+
28
−
0
View file @
5007ff32
...
...
@@ -398,3 +398,31 @@
$
touch
.
hgeol
$
hg
status
--
traceback
?
.
hgeol
$
cd
..
Test
cleverencode:
and
cleverdecode:
aliases
for
win32text
extension
$
echo
'
[encode]
'
>>
$HGRCPATH
$
echo
'
**.txt = cleverencode: =
'
>>
$HGRCPATH
$
echo
'
[decode]
'
>>
$HGRCPATH
$
echo
'
**.txt = cleverdecode: =
'
>>
$HGRCPATH
$
hg
init
win32compat
$
cd
win32compat
$
printf
"
foo
\r\n
bar
\r\n
baz
\r\n
"
>
win
.
txt
$
printf
"
foo
\n
bar
\n
baz
\n
"
>
unix
.
txt
$
hg
add
adding
unix
.
txt
adding
win
.
txt
$
hg
commit
-
m chec
kin
Check
that
both
files
have
LF
line
-
endings
in
the
repository:
$
hg
cat
win
.
txt
foo
bar
baz
$
hg
cat
unix
.
txt
foo
bar
baz
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