chiark / gitweb /
Let "stg assimilate" handle missing patches
authorKarl Hasselström <kha@treskal.com>
Mon, 1 Oct 2007 16:42:30 +0000 (18:42 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 7 Oct 2007 22:14:11 +0000 (00:14 +0200)
commit2b049e124c85dcdbbc531c86ec336c7a9b41db36
treece037e3d0fc69993a675352e3b4103e7dcdb8c99
parentb0dfbed363d50007959707f9f3fd058e8f67ac2e
Let "stg assimilate" handle missing patches

If a patch was not mentioned in the applied/unapplied files,
"assimilate" used to ignore it. Now it won't. The only information
loss ensuing from this sequence of commands

  $ rm .git/patches/<branch>/{un,}applied
  $ touch .git/patches/<branch>/{un,}applied
  $ stg assimilate

is now the order of the unapplied patches.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/assimilate.py