# HG changeset patch # User Franz Glasner # Date 1539547648 -7200 # Node ID 057b33f9c8a597b64ad24418e67cc9776fdddee9 # Parent f6d29dc3fe8fa48fd9a258d41314830ec382af55 Wording in error message when timestamps are not activated and/or configured diff -r f6d29dc3fe8f -r 057b33f9c8a5 extensions/timestamps.py --- a/extensions/timestamps.py Sun Oct 14 22:05:29 2018 +0200 +++ b/extensions/timestamps.py Sun Oct 14 22:07:28 2018 +0200 @@ -159,7 +159,7 @@ raise error.Abort(_("repository is not local")) matcher = gen_matcher(repo, ctx, tsconfig=tsconfig) if matcher is None: - raise error.Abort(_("timestamps are not activated")) + raise error.Abort(_("timestamps are not activated/configured")) if amend: ts = Timestamps.from_filename(ui, name=repo.wjoin(TIMESTAMPS_DATABASE)) if ts is None: @@ -186,7 +186,7 @@ cmdutil.bailifchanged(repo) matcher = gen_matcher(repo, ctx, tsconfig=tsconfig) if matcher is None: - raise error.Abort(_("timestamps are not activated")) + raise error.Abort(_("timestamps are not activated/configured")) ts = Timestamps.from_filename(ui, name=repo.wjoin(TIMESTAMPS_DATABASE)) if ts is None: raise error.Abort(_("timestamps database file does not exist")) @@ -684,7 +684,7 @@ # else: self.ui.debug("TimestampedRepo.commit():" - "timestamps not activated\n") + " timestamps not activated/configured\n") super(TimestampedRepo, self).commit( *args, text=text, user=user, date=date, match=match, force=force,