Mercurial qfold ALL patches?
问题 Turns out there is no hg qfold -a . I tried hg qfold $(hg qunapp) and hg qunapp | xargs hg qfold but couldn't get it to work. Any ideas? 回答1: With your xargs approach, did you remember that qfold only folds unapplied patches into an applied patch? This worked for me (Windows) to fold all patches into the first patch: hg qpop -a # remove all patches hg qpush # apply first one for /f %i in ('hg qunapplied') do hg qfold %i # fold remaining patches 回答2: Hmm... we could add a -a flag... But until