Tickets
Issues
# TODO: this was copy/pasted from dulwich's Repo.clone method- Id: 484aebe843922c6f7f4d0b42971c23cc
- Status: Open
- Initial commit: c09e06f4e2a6bebbce2b39d10b37da1a2ea33a8b
- Creation date: 2013-01-26 19:55:54
- Last changed: 2023-01-20 20:09:53
- Created by: Laurent Defert
- File: staticpm/git.py
- Last changed by: Laurent Defert
- Tag:
# TODO: this was copy/pasted from dulwich's Repo.clone method
# It should be refactorized upstream
clone.refs.import_refs(b'refs/remotes/origin', self.repo.refs.as_dict(b'refs/heads'))
clone.refs.import_refs(b'refs/tags', self.repo.refs.as_dict(b'refs/tags'))
try:
clone.refs.add_if_new(b'refs/heads/%s' % branch.encode('utf-8'),
History
-
Changed by Laurent Defert on 2023-01-20 20:09:53 during c878c1da74dd197ede2d607810d7a638c750cf95
-
Content:
updated from
# TODO: this was copy/pasted from dulwich's Repo.clone method # It should be refactorized upstream clone.refs.import_refs(b'refs/remotes/origin', self.repo.refs.as_dict(b'refs/heads')) clone.refs.import_refs(b'refs/tags', self.repo.refs.as_dict(b'refs/tags')) try: clone.refs.add_if_new(b'refs/heads/master',
Changed by Laurent DEFERT on 2023-01-18 12:16:41 during fbea579dac61d4988aca4bf9bd4c0578003a2385
-
File:
kissspm/git.py- staticpm/git.py
Changed by Laurent DEFERT on 2022-12-29 14:48:32 during 6ad871c905ad0064995ed980b7786b76398869e0
-
Content:
updated from
# TODO: this was copy/pasted from dulwich's Repo.clone method # It should be refactorized upstream clone.refs.import_refs('refs/remotes/origin', self.repo.refs.as_dict('refs/heads')) clone.refs.import_refs('refs/tags', self.repo.refs.as_dict('refs/tags')) try: clone.refs.add_if_new('refs/heads/master',