comparison tests/test-mq.out @ 5534:61c230f81068

mq: avoid qnew committing everything on invalid paths (issue 803) If paths are supplied but resolve to nothing, localrepo.commit() is called with an empty set and commits the whole dirstate. Avoid this by passing the match function to commit.
author Patrick Mezard <pmezard@gmail.com>
date Tue, 20 Nov 2007 14:31:58 +0100
parents e14118f92730
children c2a21fe60994 b4858eb4b58f
comparison
equal deleted inserted replaced
5527:0b3f910dfd17 5534:61c230f81068
81 status 81 status
82 bleh 82 bleh
83 series: 83 series:
84 A 84 A
85 B 85 B
86 % qnew with uncommitted changes
87 abort: local changes found, refresh first
88 A somefile
89 % qnew with uncommitted changes and missing file (issue 803)
90 someotherfile: No such file or directory
91 A somefile
92 issue803.patch
93 Patch queue now empty
86 % qnew -m 94 % qnew -m
87 foo bar 95 foo bar
88 % qrefresh 96 % qrefresh
89 foo bar 97 foo bar
90 98