mercurial/scmutil.py
changeset 48460 c51408b92b88
parent 48368 8c4881c07f57
child 48687 f8f2ecdde4b5
equal deleted inserted replaced
48459:bc6547f61310 48460:c51408b92b88
  2195     hiddentype can be: 1) 'warn': warn while unhiding changesets
  2195     hiddentype can be: 1) 'warn': warn while unhiding changesets
  2196                        2) 'nowarn': don't warn while unhiding changesets
  2196                        2) 'nowarn': don't warn while unhiding changesets
  2197 
  2197 
  2198     returns a repo object with the required changesets unhidden
  2198     returns a repo object with the required changesets unhidden
  2199     """
  2199     """
       
  2200     if not specs:
       
  2201         return repo
       
  2202 
  2200     if not repo.filtername or not repo.ui.configbool(
  2203     if not repo.filtername or not repo.ui.configbool(
  2201         b'experimental', b'directaccess'
  2204         b'experimental', b'directaccess'
  2202     ):
  2205     ):
  2203         return repo
  2206         return repo
  2204 
  2207