[MERGE] Bugfix: WT4.get_file_sha1 raises exception on missing files #118186

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jun 1 14:48:12 BST 2007


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

Hi all,

bzr.dev revno 22499 introduced a regression in
WorkingTree4.get_file_sha1: it now raises an OSError when invoked on
missing files.  The expected behavior is to return None.

This patch restores the correct behavior.

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

iD8DBQFGYCOc0F+nu1YWqI0RAnDtAJ0RouFwhfDVVvXSFR7iy49Pa5YvLQCeLCtH
MuZWMV2gh/8y62uy7JTw1uY=
=v5v5
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-wt4-sha1.patch
Type: text/x-patch
Size: 2798 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070601/5f67f08c/attachment.bin 


More information about the bazaar mailing list