equal
deleted
inserted
replaced
526 marker might induce overhead in some cases. However it is a good place to |
526 marker might induce overhead in some cases. However it is a good place to |
527 start since it automatically makes all markers creation recording more |
527 start since it automatically makes all markers creation recording more |
528 meaningful data. In the future, we can introduce way for commands to |
528 meaningful data. In the future, we can introduce way for commands to |
529 provide precomputed effect to avoid the overhead. |
529 provide precomputed effect to avoid the overhead. |
530 """ |
530 """ |
531 if not repo.ui.configbool('experimental', 'evolution.effect-flags', False): |
531 if not repo.ui.configbool('experimental', 'evolution.effect-flags', True): |
532 return orig(repo, relations, flag, date, metadata, **kwargs) |
532 return orig(repo, relations, flag, date, metadata, **kwargs) |
533 if metadata is None: |
533 if metadata is None: |
534 metadata = {} |
534 metadata = {} |
535 tr = repo.transaction('add-obsolescence-marker') |
535 tr = repo.transaction('add-obsolescence-marker') |
536 try: |
536 try: |