Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 206:057b33f9c8a5
Wording in error message when timestamps are not activated and/or configured
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 14 Oct 2018 22:07:28 +0200 |
| parents | f6d29dc3fe8f |
| children | 1d1f2d7de448 |
| files | extensions/timestamps.py |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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,
