Do not using interactive mode with “quilt push -f”

Now the “patch -f” option is always used.
Merge branch 'help' into HEAD

Conflicts:
	quilt/push.in
Merge branch 'autocrap' into patches
Support the “-f” and “-R” options of “quilt pop” in “quilt delete”
Move the code that computes a range of patches from mail to patchfns.

This prepares for using the function in commit.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Add "commit" function.

It is useful to be able to hand off patches from the quilt stack to a
separate version control system. This new function does just that,
allowing patches that do not collide to be committed to a VCS, and
removed from the quilt stack.

Only subversion (and a "null", forgetful VCS) are implemented in this
version.

Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Remove support for stripping trailing whitespace

This shouldn’t be the job of a patch manager, and it is not compatible with
blank indented lines.
quilt delete any_nonconflicting_patch

Implement "quilt delete <any non-conflicting patch in series>".

This patch allows patches that do not collide (at the file level)
to be deleted from the quilt stack.  *Any* other patch that
touches the same file(s) is detected as a conflict and prevents
the target patch from being deleted. E.g.:

$ quilt delete docum-iomapping-ioremap-type.patch
Patch docum-iomapping-ioremap-type.patch is not independent of other applied patches.
Common files are:
Documentation/IO-mapping.txt

Perhaps it would be better to list the conflicting patch file names
instead of the conflicting source file names. (?)

Previously only the topmost patch could be deleted.

Based somewhat on the "quilt commit" patch from Hugo Mills <hugo@carfax.org.uk>.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Hugo Mills <hugo@carfax.org.uk>
Merge branch 'help' into HEAD
Add long “--help” option to new “commit” command
Fix simple errors and point out issues
Add a quilt commit -n ("dry run") option
Make it so "quilt commit" on its own just commits the current patch by default
rather than starting at the beginning.
Commit a single patch by default

git-svn-id: file:///srv/svn/quilt/patches@836 d14a3a22-75bb-674b-ac17-716f8a15ffcb
Refuse to commit with empty message

git-svn-id: file:///srv/svn/quilt/patches/trunk@852 d14a3a22-75bb-674b-ac17-716f8a15ffcb
Handle patch files deleted before they are popped

Make quilt pop check if the patch got removed from the series file. Otherwise
it may test the patch with wrong -p arguments and gives a misleading failure
message.

git-svn-id: file:///srv/svn/quilt/patches/trunk@927 d14a3a22-75bb-674b-ac17-716f8a15ffcb
git-svn-id: file:///srv/svn/quilt/patches/trunk@928 d14a3a22-75bb-674b-ac17-716f8a15ffcb
Incorporate refresh and timestamp checks into check_for_pending_changes()
Merge branch 'thee'

Conflicts:
	quilt/pop.in
Move check_for_pending_changes() from “pop” script to common file
Add check for refresh to commit command