[I've had some hardware problems and got a really bad disk crash, and I think I've accidently sent some mails to outer space while setting up a working spare system. I can't find the quoted quoted mail from Ketil Malde, for example. So I might restate things already explained.]
On Sun, Oct 16, 2005 at 09:33:07PM -0700, Luiz-Otavio Zorzella wrote: > Ketil Malde wrote: > >Did you try unpull'ing the patch that removed the files? > > Well, two things: > > - I haven't yet even pushed the changes to anywhere -- they are still > only "recorded" in my working directory. How does that apply? > > - The patch that removed the file did a bunch of other things I don't > want undone. I just want to get one file back. And, more generally, I > want to be able to see a list of files that might have existed in a > folder as well. Make sure you don't have any unrecorded changes (that can melt together with the ones in the patch you're going to unrecord). Unrecord the patch that removes the file; this will also unrecord the other bunch of changes. Revert the removal of the file. Finally record a new patch, where the file isn't removed. This assumes you have total control over the old patch so you can replace it everywhere. > Again, I know I could set a second working dir, and "get" a prior > version. I'm just trying to figure out how to do some of the basics on > the current working dir. Darcs doesn't have a sticky working dir like CVS. It uses branches instead. It is fairly convenient to 'darcs get --something . _something' to retrieve the wanted patch configuration in a subdir. I find it practical to start these "sticky" repos with underscore, because I've taught my tools to skip directories starting with underscore (leaves both _darcs and subdir repos alone). -- Tommy Pettersson <[EMAIL PROTECTED]> _______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
