mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Updated Subversion and Git schemes.
This commit is contained in:
parent
ba0cda98a0
commit
d99c2b46ac
4
pip.py
4
pip.py
|
@ -2633,7 +2633,7 @@ _svn_revision_re = re.compile(r'Revision: (.+)')
|
|||
class Subversion(VersionControl):
|
||||
name = 'svn'
|
||||
dirname = '.svn'
|
||||
schemes = ('svn', 'svn+ssh')
|
||||
schemes = ('svn', 'svn+ssh', 'svn+http', 'svn+https')
|
||||
bundle_file = 'svn-checkout.txt'
|
||||
guide = ('# This was an svn checkout; to make it a checkout again run:\n'
|
||||
'svn checkout --force -r %(rev)s %(url)s .\n')
|
||||
|
@ -2885,7 +2885,7 @@ vcs.register(Subversion)
|
|||
class Git(VersionControl):
|
||||
name = 'git'
|
||||
dirname = '.git'
|
||||
schemes = ('git', 'git+http', 'git+ssh')
|
||||
schemes = ('git', 'git+http', 'git+ssh', 'git+git')
|
||||
bundle_file = 'git-clone.txt'
|
||||
guide = ('# This was a Git repo; to make it a repo again run:\n'
|
||||
'git init\ngit remote add origin %(url)s -f\ngit checkout %(rev)s\n')
|
||||
|
|
Loading…
Reference in a new issue