hgext/mq.py
changeset 4476 4ef8fdf57e39
parent 4437 a210b40d0860
child 4549 0c61124ad877
equal deleted inserted replaced
4475:e8a584067825 4476:4ef8fdf57e39
  1592                 for h in sr.heads(qbase):
  1592                 for h in sr.heads(qbase):
  1593                     del heads[h]
  1593                     del heads[h]
  1594                 destrev = heads.keys()
  1594                 destrev = heads.keys()
  1595                 destrev.append(sr.changelog.parents(qbase)[0])
  1595                 destrev.append(sr.changelog.parents(qbase)[0])
  1596     ui.note(_('cloning main repo\n'))
  1596     ui.note(_('cloning main repo\n'))
  1597     sr, dr = hg.clone(ui, sr, dest,
  1597     sr, dr = hg.clone(ui, sr.url(), dest,
  1598                       pull=opts['pull'],
  1598                       pull=opts['pull'],
  1599                       rev=destrev,
  1599                       rev=destrev,
  1600                       update=False,
  1600                       update=False,
  1601                       stream=opts['uncompressed'])
  1601                       stream=opts['uncompressed'])
  1602     ui.note(_('cloning patch repo\n'))
  1602     ui.note(_('cloning patch repo\n'))