Submitter | Pierre-Yves David |
---|---|
Date | Feb. 14, 2014, 11:47 p.m. |
Message ID | <1bfd796fc968827d75b2.1392421672@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/3664/ |
State | Accepted |
Commit | 3af218cf20079a51bfb9df393b3bac334b77b6f9 |
Headers | show |
Comments
Patch
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py --- a/mercurial/obsolete.py +++ b/mercurial/obsolete.py @@ -254,10 +254,13 @@ class obsstore(object): """obsolete: add a new obsolete marker * ensuring it is hashable * check mandatory metadata * encode metadata + + If you are a human writing code creating marker you want to use the + `createmarkers` function in this module instead. """ if metadata is None: metadata = {} if 'date' not in metadata: metadata['date'] = "%d %d" % util.makedate()