Commits

Steve Borho  committed 627835f

hgshelve: default to patch.eol=strict if undefined

Fixes #544

  • Participants
  • Parent commits a26d81a
  • Branches stable

Comments (0)

Files changed (1)

File hggtk/hgshelve.py

     if cwd:
         curdir = os.getcwd()
         os.chdir(cwd)
-        eolmode = ui.config('patch', 'eol')
+        eolmode = ui.config('patch', 'eol', 'strict')
     try:
         eol = {'strict': None, 'crlf': '\r\n', 'lf': '\n'}[eolmode.lower()]
     except KeyError: