When trying to remove the same patch file twice, the file gets deleted, but not from the patch series file. Trying to push the file (obviously) fails then. Attached a shell script to reproduce the issue. Output at my system: -------------------------------------- popping add_foo patch queue now empty Patch queue: add_foo hg qrm add_foo add_foo (notice it tries to remove 'add_foo' twice) abort: No such file or directory: /home/user/tmp/qrm_issue_repo/.hg/patches/add_foo patch queue after delete: add_foo Files (ls -l .hg/patches) total 4 -rw-r--r--. 1 user user 8 Oct 9 15:34 series -rw-r--r--. 1 user user 0 Oct 9 15:34 status No 'add_foo' patch file, while the patch queue thinks it still exists!! Version: Mercurial Distributed SCM (version 1.6.3) Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --------------------------------------
Hmm, typo, "push the file" should be "qpush the file". Sorry
Fixed in 5192b24f309c.
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:13 EDT --- This bug was previously known as _bug_ 2427 at http://mercurial.selenic.com/bts/issue2427 Imported an attachment (id=1468)