Show More
@@ -570,7 +570,13 b' class hgsubrepo(abstractsubrepo):' | |||||
570 | @annotatesubrepoerror |
|
570 | @annotatesubrepoerror | |
571 | def add(self, ui, match, prefix, uipathfn, explicitonly, **opts): |
|
571 | def add(self, ui, match, prefix, uipathfn, explicitonly, **opts): | |
572 | return cmdutil.add( |
|
572 | return cmdutil.add( | |
573 | ui, self._repo, match, prefix, uipathfn, explicitonly, **opts |
|
573 | ui, | |
|
574 | self._repo, | |||
|
575 | match, | |||
|
576 | prefix, | |||
|
577 | uipathfn, | |||
|
578 | explicitonly, | |||
|
579 | **opts, | |||
574 | ) |
|
580 | ) | |
575 |
|
581 | |||
576 | @annotatesubrepoerror |
|
582 | @annotatesubrepoerror | |
@@ -621,7 +627,7 b' class hgsubrepo(abstractsubrepo):' | |||||
621 | match, |
|
627 | match, | |
622 | prefix=prefix, |
|
628 | prefix=prefix, | |
623 | listsubrepos=True, |
|
629 | listsubrepos=True, | |
624 | **opts |
|
630 | **opts, | |
625 | ) |
|
631 | ) | |
626 | except error.RepoLookupError as inst: |
|
632 | except error.RepoLookupError as inst: | |
627 | self.ui.warn( |
|
633 | self.ui.warn( | |
@@ -1123,7 +1129,7 b' class svnsubrepo(abstractsubrepo):' | |||||
1123 | stdout=subprocess.PIPE, |
|
1129 | stdout=subprocess.PIPE, | |
1124 | stderr=subprocess.PIPE, |
|
1130 | stderr=subprocess.PIPE, | |
1125 | env=procutil.tonativeenv(env), |
|
1131 | env=procutil.tonativeenv(env), | |
1126 | **extrakw |
|
1132 | **extrakw, | |
1127 | ) |
|
1133 | ) | |
1128 | stdout, stderr = map(util.fromnativeeol, p.communicate()) |
|
1134 | stdout, stderr = map(util.fromnativeeol, p.communicate()) | |
1129 | stderr = stderr.strip() |
|
1135 | stderr = stderr.strip() | |
@@ -1488,7 +1494,7 b' class gitsubrepo(abstractsubrepo):' | |||||
1488 | close_fds=procutil.closefds, |
|
1494 | close_fds=procutil.closefds, | |
1489 | stdout=subprocess.PIPE, |
|
1495 | stdout=subprocess.PIPE, | |
1490 | stderr=errpipe, |
|
1496 | stderr=errpipe, | |
1491 | **extrakw |
|
1497 | **extrakw, | |
1492 | ) |
|
1498 | ) | |
1493 | if stream: |
|
1499 | if stream: | |
1494 | return p.stdout, None |
|
1500 | return p.stdout, None |
General Comments 0
You need to be logged in to leave comments.
Login now