how to force recalculation of sha1 for versioned file?

Aaron Bentley aaron at aaronbentley.com
Mon Feb 11 14:56:53 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Unfortunately `bzr st` says that nothing changed. Because mount don't
> change
> timestamp nor size of this file.
> 
> It seems like this trick is fairly new, because back in November 2007
> I'm working with the same branch and don't have such problems.

No, this "trick" is not new.  Bazaar has used the mtime as an indicator
of whether a file has changed since bzr-0.0.5 in July 2005.

> I could understand this change should speed up status operation, but
> it seems like in my case bzr does the wrong thing.

If your disk image is being modified without having its mtime updated, I
would argue that's the wrong thing.  The mtime should always be updated
when the contents of a file change.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHsGI10F+nu1YWqI0RAvZ/AJ9m7vusDRQPZtvxs1Vc0eUFgmBg9QCfad5d
QA9Nh6OpOizVxCUSlVayZGo=
=rKPL
-----END PGP SIGNATURE-----



More information about the bazaar mailing list