Commits

Georg Brandl committed f616ad0

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

  • Participants
  • Parent commits 74e202d

Comments (0)

Files changed (2)

 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

             # 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 = []