Show More
@@ -25,6 +25,10 b' def canperformstreamclone(repo, remote, ' | |||
|
25 | 25 | a set of repo requirements from the remote, or ``None`` if stream clone |
|
26 | 26 | isn't supported. |
|
27 | 27 | """ |
|
28 | # Streaming clone only works on empty repositories. | |
|
29 | if len(repo): | |
|
30 | return False, None | |
|
31 | ||
|
28 | 32 | # Streaming clone only works if all data is being requested. |
|
29 | 33 | if heads: |
|
30 | 34 | return False, None |
General Comments 0
You need to be logged in to leave comments.
Login now