Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
heptapod
hg-git
Commits
9b708885
Commit
9b708885
authored
9 years ago
by
Sean Farley
Browse files
Options
Downloads
Patches
Plain Diff
git_handler: use our read_pkt_refs for fetch_pack
parent
31f52d62
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
hggit/git_handler.py
+4
-0
4 additions, 0 deletions
hggit/git_handler.py
with
4 additions
and
0 deletions
hggit/git_handler.py
+
4
−
0
View file @
9b708885
...
...
@@ -1160,6 +1160,10 @@
try
:
progress
=
GitProgress
(
self
.
ui
)
f
=
StringIO
.
StringIO
()
# monkey patch dulwich's read_pkt_refs so that we can determine on
# clone which bookmark to activate
client
.
read_pkt_refs
=
compat
.
read_pkt_refs
ret
=
localclient
.
fetch_pack
(
path
,
determine_wants
,
graphwalker
,
f
.
write
,
progress
.
progress
)
if
(
f
.
pos
!=
0
):
...
...
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