mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
+2
-1
@@ -649,7 +649,8 @@ class VCSRequirement(FileRequirement):
|
||||
# Remove potential ref in the end of uri after ref is parsed
|
||||
if "@" in self.link.show_url and "@" in self.uri:
|
||||
uri, ref = self.uri.rsplit("@", 1)
|
||||
if self.ref and ref in self.ref:
|
||||
checkout = self.req.revision
|
||||
if checkout and ref in checkout:
|
||||
self.uri = uri
|
||||
|
||||
yield vcsrepo
|
||||
|
||||
Reference in New Issue
Block a user