##// END OF EJS Templates
scm: change update_commit_cache to check revision as well
dan -
r339:3ef1f660 default
parent child Browse files
Show More
@@ -1861,7 +1861,8 b' class Repository(Base, BaseModel):'
1861 cs_cache = cs_cache.__json__()
1861 cs_cache = cs_cache.__json__()
1862
1862
1863 def is_outdated(new_cs_cache):
1863 def is_outdated(new_cs_cache):
1864 if new_cs_cache['raw_id'] != self.changeset_cache['raw_id']:
1864 if (new_cs_cache['raw_id'] != self.changeset_cache['raw_id'] or
1865 new_cs_cache['revision'] != self.changeset_cache['revision']):
1865 return True
1866 return True
1866 return False
1867 return False
1867
1868
General Comments 0
You need to be logged in to leave comments. Login now