Merge lp:~quartz25/bzr-git/alt-ssh-path into lp:bzr-git

Proposed by Ross Light
Status: Superseded
Proposed branch: lp:~quartz25/bzr-git/alt-ssh-path
Merge into: lp:bzr-git
Diff against target: 22 lines (+10/-1)
1 file modified
remote.py (+10/-1)
To merge this branch: bzr merge lp:~quartz25/bzr-git/alt-ssh-path
Reviewer Review Type Date Requested Status
bzr-git developers Pending
Review via email: mp+26107@code.launchpad.net

This proposal has been superseded by a proposal from 2010-05-26.

Description of the change

Allows alternate paths for the git-receive-pack and git-upload-pack over SSH connections.

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'remote.py'
--- remote.py 2010-05-17 23:37:25 +0000
+++ remote.py 2010-05-26 22:13:25 +0000
@@ -182,8 +182,17 @@
182 ret = self._client182 ret = self._client
183 self._client = None183 self._client = None
184 return ret184 return ret
185 return git.client.SSHGitClient(self._host, self._port, self._username,185 location_config = config.LocationConfig(self.base)
186 client = git.client.SSHGitClient(self._host, self._port, self._username,
186 thin_packs=thin_packs, report_activity=self._report_activity)187 thin_packs=thin_packs, report_activity=self._report_activity)
188 # Set up alternate pack program paths
189 upload_pack = location_config.get_user_option('git_upload_pack')
190 if upload_pack:
191 client.upload_pack_path = upload_pack
192 receive_pack = location_config.get_user_option('git_receive_pack')
193 if receive_pack:
194 client.receive_pack_path = receive_pack
195 return client
187196
188197
189class RemoteGitDir(GitDir):198class RemoteGitDir(GitDir):

Subscribers

People subscribed via source and target branches

to all changes: