0

MQ に 2 つの Mercurial パッチを適用しています。それらを 1 つに折り畳みたいのですqfoldが、パッチを適用しない必要があります。なんで?そして、明示的にポップせずにそれらを折りたたむにはどうすればよいですか?

4

1 に答える 1

1

折り畳まれるパッチは、適用された (現在の) パッチに折り畳まれるために、適用されていない必要があります。

hg qfold [-e] [-k] [-m TEXT] [-l FILE] PATCH...

fold the named patches into the current patch

    Patches must not yet be applied. Each patch will be successively applied
    to the current patch in the order given. If all the patches apply
    successfully, the current patch will be refreshed with the new cumulative
    patch, and the folded patches will be deleted.

パッチが 2 つしかないので、最後のパッチをはがしてパッチの上に折りたたむだけqbaseです。

于 2014-06-05T11:10:01.897 に答える