Show More
@@ -360,20 +360,6 b' def reposetup(ui, repo):' | |||
|
360 | 360 | ) |
|
361 | 361 | return result |
|
362 | 362 | |
|
363 | def push(self, remote, force=False, revs=None, newbranch=False): | |
|
364 | if remote.local(): | |
|
365 | missing = set(self.requirements) - remote.local().supported | |
|
366 | if missing: | |
|
367 | msg = _( | |
|
368 | b"required features are not" | |
|
369 | b" supported in the destination:" | |
|
370 | b" %s" | |
|
371 | ) % (b', '.join(sorted(missing))) | |
|
372 | raise error.Abort(msg) | |
|
373 | return super(lfilesrepo, self).push( | |
|
374 | remote, force=force, revs=revs, newbranch=newbranch | |
|
375 | ) | |
|
376 | ||
|
377 | 363 | # TODO: _subdirlfs should be moved into "lfutil.py", because |
|
378 | 364 | # it is referred only from "lfutil.updatestandinsbymatch" |
|
379 | 365 | def _subdirlfs(self, files, lfiles): |
General Comments 0
You need to be logged in to leave comments.
Login now