Merged Anton Batenev's report of Nicolas Alvarez' unicode-in-be-new bug
[be.git] / .be / bea86499-824e-4e77-b085-2d581fa9ccab / bugs / a403de79-8f39-41f2-b9ec-15053b175ee2 / comments / 208595bd-35b8-44c2-bf97-fc5ef9e7a58d / body
1 Example:
2
3 We're working happily in a versioned bugdir, and our RCS knows who we
4 are.  We create a temporary repository copy from a previous revision
5 for diff generation.  We set the RCS for the copy to "None", since we
6 didn't bother initializing our normal RCS in the snapshot copy.  But
7 now the BugDir instantized on the copy doesn't know who we are!
8
9 Solution:
10
11 Track user id in the bugdir settings file.  If you
12 bugdir.settings["user_id"], it will be saved and loaded.  When loaded,
13 it will also set bugdir.user_id.  If you set rcs.user_id, it will be
14 returned by rcs.get_user_id(), instead of returing the output of
15 rcs._rcs_get_user_id().  We should be caching the output of
16 _rcs_get_user_id() anyway.
17