Reported bug with utf-8 strings
[be.git] / .be / bugs / c894f10f-197d-4b22-9c5b-19f394df40d4 / 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