1. Georg Brandl
  2. hgchangelog

Commits

Georg Brandl  committed f616ad0

Don't complain if the changelog file is not present.

  • Participants
  • Parent commits 74e202d
  • Branches default

Comments (0)

Files changed (2)

File CHANGES

View file
 Changelog
 ---------
 
+- Don't complain if the changelog file is not present.
+
 - The outdenting algorithm was improved for line continuations and
   rst code blocks in list items.

File hgchangelog.py

View file
             # changelog is not mentioned
             return orig_commit(ui, repo, *pats, **opts)
     logmatch = cmdutil.match(repo, [logname], {})
+    logmatch.bad = lambda f, msg: None  # don't complain if file is missing
 
     # get diff of changelog
     log = []