equal
deleted
inserted
replaced
154 os.mkdir(cachedir) |
154 os.mkdir(cachedir) |
155 |
155 |
156 # The cvsps cache pickle needs a uniquified name, based on the |
156 # The cvsps cache pickle needs a uniquified name, based on the |
157 # repository location. The address may have all sort of nasties |
157 # repository location. The address may have all sort of nasties |
158 # in it, slashes, colons and such. So here we take just the |
158 # in it, slashes, colons and such. So here we take just the |
159 # alphanumerics, concatenated in a way that does not mix up the |
159 # alphanumeric characters, concatenated in a way that does not |
160 # various components, so that |
160 # mix up the various components, so that |
161 # :pserver:user@server:/path |
161 # :pserver:user@server:/path |
162 # and |
162 # and |
163 # /pserver/user/server/path |
163 # /pserver/user/server/path |
164 # are mapped to different cache file names. |
164 # are mapped to different cache file names. |
165 cachefile = root.split(":") + [directory, "cache"] |
165 cachefile = root.split(":") + [directory, "cache"] |
501 c = None |
501 c = None |
502 for i, e in enumerate(log): |
502 for i, e in enumerate(log): |
503 |
503 |
504 # Check if log entry belongs to the current changeset or not. |
504 # Check if log entry belongs to the current changeset or not. |
505 |
505 |
506 # Since CVS is file centric, two different file revisions with |
506 # Since CVS is file-centric, two different file revisions with |
507 # different branchpoints should be treated as belonging to two |
507 # different branchpoints should be treated as belonging to two |
508 # different changesets (and the ordering is important and not |
508 # different changesets (and the ordering is important and not |
509 # honoured by cvsps at this point). |
509 # honoured by cvsps at this point). |
510 # |
510 # |
511 # Consider the following case: |
511 # Consider the following case: |