summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b3fd1b2)
raw | patch | inline | side by side (parent: b3fd1b2)
author | Simon Hausmann <simon@lst.de> | |
Wed, 23 May 2007 22:24:52 +0000 (00:24 +0200) | ||
committer | Simon Hausmann <simon@lst.de> | |
Wed, 23 May 2007 22:24:52 +0000 (00:24 +0200) |
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4 | patch | blob | history |
index d8b7080b4bdb403ae48489bbaeeb0d3a03abab57..9e9d623a3c1d34c93f2e3a383762b248188869b6 100755 (executable)
print "Tag %s does not match with change %s: file count is different." % (labelDetails["label"], change)
def getUserMapFromPerforceServer(self):
+ if self.userMapFromPerforceServer:
+ return
self.users = {}
for output in p4CmdList("users"):
for user in self.users.keys():
cache.write("%s\t%s\n" % (user, self.users[user]))
cache.close();
+ self.userMapFromPerforceServer = True
def loadUserMapFromCache(self):
self.users = {}
+ self.userMapFromPerforceServer = False
try:
cache = open(gitdir + "/p4-usercache.txt", "rb")
lines = cache.readlines()