mercurial/commands.py
changeset 3940 7997c0e01bfc
parent 3931 f2cbcf1e98b2
child 3950 3d3007064a17
equal deleted inserted replaced
3932:e0793314360e 3940:7997c0e01bfc
  1529     setremoteconfig(ui, opts)
  1529     setremoteconfig(ui, opts)
  1530 
  1530 
  1531     other = hg.repository(ui, source)
  1531     other = hg.repository(ui, source)
  1532     incoming = repo.findincoming(other, force=opts["force"])
  1532     incoming = repo.findincoming(other, force=opts["force"])
  1533     if not incoming:
  1533     if not incoming:
       
  1534         try:
       
  1535             os.unlink(opts["bundle"])
       
  1536         except:
       
  1537             pass
  1534         ui.status(_("no changes found\n"))
  1538         ui.status(_("no changes found\n"))
  1535         return 1
  1539         return 1
  1536 
  1540 
  1537     cleanup = None
  1541     cleanup = None
  1538     try:
  1542     try: