##// END OF EJS Templates
mq: allow push if -r is given explicitly
Brendan Cully -
r4040:55578a8d default
parent child Browse files
Show More
@@ -2013,7 +2013,7 b' def reposetup(ui, repo):'
2013 return super(mqrepo, self).commit(*args, **opts)
2013 return super(mqrepo, self).commit(*args, **opts)
2014
2014
2015 def push(self, remote, force=False, revs=None):
2015 def push(self, remote, force=False, revs=None):
2016 if self.mq.applied and not force:
2016 if self.mq.applied and not force and not revs:
2017 raise util.Abort(_('source has mq patches applied'))
2017 raise util.Abort(_('source has mq patches applied'))
2018 return super(mqrepo, self).push(remote, force, revs)
2018 return super(mqrepo, self).push(remote, force, revs)
2019
2019
General Comments 0
You need to be logged in to leave comments. Login now