> > is there another way? > rename the file before 'darcs revert' > edit _darcs/patches/pending (remove the line "addfile ./a.txt") I'd record and then unpull. Darcs has more powerful facilities for dealing with recorded changes than with the pending changes. Juliusz