Richard Lowe wrote: > Rod Evans <Rod.Evans at sun.com> writes: > >> I have a workspace with some committed changes. >> >> hg list produces a list of several files. >> hg backup creates a cmd.backup/workspace/[123..] >> directory that contains a bunch of "metadata" files, >> but I don't get copies of the real files (ie. the >> ones that show up in hg list). >> > > cdm.backup/ > workspace/ > bundle -- a bundle (hg bundle) of your committed changes > diff -- diffs representing your uncommitted changes > ... > > We don't store the files, we store a bundle (see 'hg help bundle'), > such that we're actually taking a copy of your committed changes, with > all the associated information.
So, if I make regular backups throughout the life of a project, and want to diff a file I'm presently working on (which I've probably screwed up in some way), with one of my backup versions, I have to create a whole workspace and apply the bundle (hg unbundle) to get a flat file copy of the backed up file I'm interested in? -- Rod.