Tickets

Issues

# TODO: this was copy/pasted from dulwich's Repo.clone method


            # 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',