equal
deleted
inserted
replaced
1863 sidedata = {} |
1863 sidedata = {} |
1864 elif not self.hassidedata: |
1864 elif not self.hassidedata: |
1865 raise error.ProgrammingError( |
1865 raise error.ProgrammingError( |
1866 _("trying to add sidedata to a revlog who don't support them") |
1866 _("trying to add sidedata to a revlog who don't support them") |
1867 ) |
1867 ) |
|
1868 else: |
|
1869 flags |= REVIDX_SIDEDATA |
1868 |
1870 |
1869 if flags: |
1871 if flags: |
1870 node = node or self.hash(text, p1, p2) |
1872 node = node or self.hash(text, p1, p2) |
1871 |
1873 |
1872 rawtext, validatehash = flagutil.processflagswrite(self, text, flags, |
1874 rawtext, validatehash = flagutil.processflagswrite(self, text, flags, |