attn: abentley Re: [BUG] Merging repositories with a directory deleted

Aaron Bentley aaron.bentley at utoronto.ca
Wed Sep 14 22:06:45 BST 2005


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

Aaron Bentley wrote:
> What I really need is a comprehensive exception-handling spec.  So far,
> I've just been handling each case as it bit people, based on vague ideas
> of 'the right way'.

So I'm looking at it now, and I can see why I never handled it before:
Let's say, worst-case scenario, the file doesn't exist in THIS, and some
of its parent directories are also missing.

1. Do I use BASE or OTHER for the path?
2. Do I use the exact path from that tree, or do I invent a path by
iterating up through parents in OTHER/BASE until I find something that
exists in THIS?
3. When I make the directories, do I also add them to the inventory of THIS?
4. What do I do if there's something in the way?

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

iD8DBQFDKJDk0F+nu1YWqI0RAppjAJ0Q7OkjGut56Rhs0A4Sd8g1/DJH+wCfac11
HeuzYC0vuUDjUftbtDtNQJg=
=A38t
-----END PGP SIGNATURE-----




More information about the bazaar mailing list