Rev 2363: (John Arbash Meinel) Update dirstate._iter_changes to return unicode for all paths (bug #92608) in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Sat Mar 17 01:53:07 GMT 2007


------------------------------------------------------------
revno: 2363
revision-id: pqm at pqm.ubuntu.com-20070317015305-7b7562331da9f786
parent: pqm at pqm.ubuntu.com-20070316041759-46f11e09fc48958a
parent: john at arbash-meinel.com-20070317013414-icwdyi00jprl081l
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sat 2007-03-17 01:53:05 +0000
message:
  (John Arbash Meinel) Update dirstate._iter_changes to return unicode for all paths (bug #92608)
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/cache_utf8.py           cache_utf8.py-20060810004311-x4cph46la06h9azm-1
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/intertree_implementations/test_compare.py test_compare.py-20060724101752-09ysswo1a92uqyoz-2
  bzrlib/tests/test_cache_utf8.py test_cache_utf8.py-20060810004311-x4cph46la06h9azm-2
  bzrlib/workingtree_4.py        workingtree_4.py-20070208044105-5fgpc5j3ljlh5q6c-1
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070317013414-icwdyi00jprl081l
    parent: john at arbash-meinel.com-20070316220004-fexy52r1i1ezl30j
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Fri 2007-03-16 20:34:14 -0500
    message:
      Update the tests to handle when fs is non-unicode.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070316220004-fexy52r1i1ezl30j
    parent: john at arbash-meinel.com-20070316191340-pddd21esqtzr35zp
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Fri 2007-03-16 16:00:04 -0600
    message:
      NEWS on fixing bug #92608
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070316191340-pddd21esqtzr35zp
    parent: john at arbash-meinel.com-20070316165516-ebryccbzw9xv2ohr
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Fri 2007-03-16 14:13:40 -0500
    message:
      Change utf8_decode_with_None to return what we care about.
      Re-use utf8_decode_with_None in the outer loop to avoid decoding in the inner
      process_entry
      Change the name of the local variable, to make it clear what we are doing.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070316165516-ebryccbzw9xv2ohr
    parent: john at arbash-meinel.com-20070315232208-4t93v94kr37ducen
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Fri 2007-03-16 11:55:16 -0500
    message:
      Split out the unicode tests properly.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070315232208-4t93v94kr37ducen
    parent: john at arbash-meinel.com-20070315231020-441uvn2zn3qs2p52
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Thu 2007-03-15 18:22:08 -0500
    message:
      Clean up of test_compare code.
      Change helpers to return locked trees, so we have less copied code.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070315231020-441uvn2zn3qs2p52
    parent: john at arbash-meinel.com-20070315223535-d3d4964oe1hc8zhg
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Thu 2007-03-15 18:10:20 -0500
    message:
      Start splitting up the overzealous test into focused tests.
      And find the bug in add (I was decoding the wrong parameter)
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070315223535-d3d4964oe1hc8zhg
    parent: john at arbash-meinel.com-20070315205112-g98xrtulgesi9kdy
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Thu 2007-03-15 17:35:35 -0500
    message:
      Add an overzealous test, for Unicode support of _iter_changes.
      For both knowns and unknowns.
      And include a basic, if suboptimal, fix.
      I would rather defer the decoding until we've determined that we are going to return the tuple.
      There is still something broken with added files, but I'll get to that.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070315205112-g98xrtulgesi9kdy
    parent: pqm at pqm.ubuntu.com-20070315151245-0d48a831784fc542
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: iter_changes_unicode_unknowns
    timestamp: Thu 2007-03-15 15:51:12 -0500
    message:
      Basic implementation test that makes sure _iter_changes handles unknown files.



More information about the bazaar-commits mailing list