equal
deleted
inserted
replaced
127 obsolete revision only are created. |
127 obsolete revision only are created. |
128 """ |
128 """ |
129 if not _inhibitenabled(repo): |
129 if not _inhibitenabled(repo): |
130 return |
130 return |
131 |
131 |
132 newinhibit = repo.set('::%ln and obsolete()', nodes) |
132 newinhibit = list(repo.set('::%ln and obsolete()', nodes)) |
133 if newinhibit: |
133 if newinhibit: |
134 lock = tr = None |
134 lock = tr = None |
135 try: |
135 try: |
136 lock = repo.lock() |
136 lock = repo.lock() |
137 tr = repo.transaction('obsinhibit') |
137 tr = repo.transaction('obsinhibit') |