Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
hg-git
Commits
3392d392
Commit
3392d392
authored
5 years ago
by
Manuel Jacob
Browse files
Options
Downloads
Patches
Plain Diff
compat: add unicode
parent
4fdbf9e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!20
Python 3 porting: ready for review (and merge)
Pipeline
#5607
passed with warnings
4 years ago
Stage: current
Stage: compat
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hggit/compat.py
+5
-0
5 additions, 0 deletions
hggit/compat.py
with
5 additions
and
0 deletions
hggit/compat.py
+
5
−
0
View file @
3392d392
...
...
@@ -37,6 +37,11 @@
iteritems
=
lambda
x
:
x
.
iteritems
()
itervalues
=
lambda
x
:
x
.
itervalues
()
try
:
unicode
=
unicode
except
NameError
:
from
mercurial.pycompat
import
unicode
def
gitvfs
(
repo
):
"""
return a vfs suitable to read git related data
"""
...
...
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