Vladimir Marek <Vladimir.Marek at Sun.COM> writes: > Hi, > > $ hg mv file x > $ hg ci -m x > $ hg list > added: > x (rename from file) > $ hg mv x file > $ hg ci -m y > $ hg list > > Second hg list reports nothing. Is this intended ? I guess so, since the > data called 'file' are again called 'file', so there is in fact no > change, despite we moved it between. Just checking
Yes, that was intended. If you change a file, and then unchange it (in whatever way) it's dropped from the active list and thus recommit will not touch it, and the changes will 'vanish', and the checks will ignore it (since you didn't change it.) There used to be logic such that if you renamed/copied a file but made no content change pbchk and nits would ignore it too, I think I removed that, but I'd like to restore it. -- Rich