equal
deleted
inserted
replaced
1695 if both are set, they must correspond to each other. |
1695 if both are set, they must correspond to each other. |
1696 """ |
1696 """ |
1697 if node == nullid: |
1697 if node == nullid: |
1698 raise RevlogError(_("%s: attempt to add null revision") % |
1698 raise RevlogError(_("%s: attempt to add null revision") % |
1699 (self.indexfile)) |
1699 (self.indexfile)) |
|
1700 if node == wdirid: |
|
1701 raise RevlogError(_("%s: attempt to add wdir revision") % |
|
1702 (self.indexfile)) |
|
1703 |
1700 btext = [rawtext] |
1704 btext = [rawtext] |
1701 def buildtext(): |
1705 def buildtext(): |
1702 if btext[0] is not None: |
1706 if btext[0] is not None: |
1703 return btext[0] |
1707 return btext[0] |
1704 baserev = cachedelta[0] |
1708 baserev = cachedelta[0] |