hg.rst
changeset 2103 a21980c282c8
parent 2080 bb2f6fcce8d4
child 2228 837f1337c59b
equal deleted inserted replaced
2102:ce5d8887b874 2103:a21980c282c8
   498 
   498 
   499 Without ``purge`` extention::
   499 Without ``purge`` extention::
   500 
   500 
   501   $ hg st -un0 | xargs -0 rm
   501   $ hg st -un0 | xargs -0 rm
   502 
   502 
       
   503 Dealing with CR/LF
       
   504 ==================
       
   505 
       
   506 Enable ``eol`` extension::
       
   507 
       
   508   [extensions]
       
   509   eol =
       
   510 
       
   511 Configure defaults::
       
   512 
       
   513   [eol]
       
   514   native = CRLF
       
   515   only-consistent = False
       
   516 
       
   517 Per project configuration set via  ``.hgeol``::
       
   518 
       
   519   [patterns]
       
   520   **.py = native
       
   521   **.txt = native
       
   522   **.vcproj = CRLF
       
   523   Makefile = LF
       
   524   **.jpg = BIN
       
   525 
       
   526 https://www.mercurial-scm.org/wiki/EolExtension
       
   527   Official wiki about CR/LF.
       
   528 
   503 Find greatest common ancestor of changesets.
   529 Find greatest common ancestor of changesets.
   504 ============================================
   530 ============================================
   505 ::
   531 ::
   506 
   532 
   507   $ hg help revsets
   533   $ hg help revsets