Wiping 'private' information

Lester Caine lester at lsces.co.uk
Sun Oct 24 21:28:42 UTC 2010


Martin Geisler wrote:
> The right way to remove a file from all changesets is to use the convert
> extension with a filemap:
>
>    http://mercurial.selenic.com/wiki/ConvertExtension#A--filemap
>
> This will give you a brand new repository with no reference to the file.
> The changesets hashes will change, starting with the first changeset
> that mentioned the file. This is because the hashes are recomputed to
> match the data without the file.

That did the job, but I can't sort the same thing in git so since this is a new 
module I can simply loose the history and push a clean current copy back there. 
NOW I need to work out how to make sure the files listed as ignore ARE ignored. 
I suspect hg-git does not recognise something here, but if they are not in the 
commit, they should not be pushed?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php



More information about the Mercurial mailing list