mercurial/ui.py
changeset 34957 58e7791e243b
parent 34947 ff2110eadbfa
child 35067 929858db4d22
equal deleted inserted replaced
34956:3ce0e4b51f78 34957:58e7791e243b
   693 
   693 
   694         >>> u = ui(); s = b'foo'
   694         >>> u = ui(); s = b'foo'
   695         >>> u.setconfig(s, b'list1', b'this,is "a small" ,test')
   695         >>> u.setconfig(s, b'list1', b'this,is "a small" ,test')
   696         >>> u.configlist(s, b'list1')
   696         >>> u.configlist(s, b'list1')
   697         ['this', 'is', 'a small', 'test']
   697         ['this', 'is', 'a small', 'test']
       
   698         >>> u.setconfig(s, b'list2', b'this, is "a small" , test ')
       
   699         >>> u.configlist(s, b'list2')
       
   700         ['this', 'is', 'a small', 'test']
   698         """
   701         """
   699         # default is not always a list
   702         # default is not always a list
   700         v = self.configwith(config.parselist, section, name, default,
   703         v = self.configwith(config.parselist, section, name, default,
   701                                'list', untrusted)
   704                                'list', untrusted)
   702         if isinstance(v, bytes):
   705         if isinstance(v, bytes):