##// END OF EJS Templates
sidedata: make sure we don't use the flag if there are not sidedata...
marmoute -
r43307:7902001a default
parent child Browse files
Show More
@@ -1861,6 +1861,7 b' class revlog(object):'
1861
1861
1862 if sidedata is None:
1862 if sidedata is None:
1863 sidedata = {}
1863 sidedata = {}
1864 flags = flags & ~REVIDX_SIDEDATA
1864 elif not self.hassidedata:
1865 elif not self.hassidedata:
1865 raise error.ProgrammingError(
1866 raise error.ProgrammingError(
1866 _("trying to add sidedata to a revlog who don't support them")
1867 _("trying to add sidedata to a revlog who don't support them")
General Comments 0
You need to be logged in to leave comments. Login now