##// END OF EJS Templates
merge with stable
Matt Harbison -
r48120:717a94b4 merge default
parent child Browse files
Show More
@@ -583,9 +583,11 b' where'
583 .unwrap();
583 .unwrap();
584 }
584 }
585 } else if self.is_ignored(&filename) && self.options.list_ignored {
585 } else if self.is_ignored(&filename) && self.options.list_ignored {
586 files_sender
586 if self.matcher.matches(&filename) {
587 .send((filename.to_owned(), Dispatch::Ignored))
587 files_sender
588 .unwrap();
588 .send((filename.to_owned(), Dispatch::Ignored))
589 .unwrap();
590 }
589 }
591 }
590 } else if let Some(entry) = entry_option {
592 } else if let Some(entry) = entry_option {
591 // Used to be a file or a folder, now something else.
593 // Used to be a file or a folder, now something else.
@@ -192,10 +192,10 b' test http authentication'
192 $ cat pid >> $DAEMON_PIDS
192 $ cat pid >> $DAEMON_PIDS
193
193
194 $ cat << EOF > get_pass.py
194 $ cat << EOF > get_pass.py
195 > import getpass
195 > from mercurial import util
196 > def newgetpass(arg):
196 > def newgetpass():
197 > return "pass"
197 > return "pass"
198 > getpass.getpass = newgetpass
198 > util.get_password = newgetpass
199 > EOF
199 > EOF
200
200
201 $ hg id http://localhost:$HGPORT2/
201 $ hg id http://localhost:$HGPORT2/
@@ -181,10 +181,10 b' test http authentication'
181 $ cat pid >> $DAEMON_PIDS
181 $ cat pid >> $DAEMON_PIDS
182
182
183 $ cat << EOF > get_pass.py
183 $ cat << EOF > get_pass.py
184 > import getpass
184 > from mercurial import util
185 > def newgetpass(arg):
185 > def newgetpass():
186 > return "pass"
186 > return "pass"
187 > getpass.getpass = newgetpass
187 > util.get_password = newgetpass
188 > EOF
188 > EOF
189
189
190 $ hg id http://localhost:$HGPORT2/
190 $ hg id http://localhost:$HGPORT2/
@@ -425,10 +425,10 b' a large file from the server rather than'
425 > -d -p $HGPORT --pid-file hg.pid -A access.log
425 > -d -p $HGPORT --pid-file hg.pid -A access.log
426 $ cat hg.pid >> $DAEMON_PIDS
426 $ cat hg.pid >> $DAEMON_PIDS
427 $ cat << EOF > get_pass.py
427 $ cat << EOF > get_pass.py
428 > import getpass
428 > from mercurial import util
429 > def newgetpass(arg):
429 > def newgetpass():
430 > return "pass"
430 > return "pass"
431 > getpass.getpass = newgetpass
431 > util.get_password = newgetpass
432 > EOF
432 > EOF
433 $ hg clone --config ui.interactive=true --config extensions.getpass=get_pass.py \
433 $ hg clone --config ui.interactive=true --config extensions.getpass=get_pass.py \
434 > http://user@localhost:$HGPORT credentialclone
434 > http://user@localhost:$HGPORT credentialclone
@@ -881,3 +881,20 b' Deeply nested files in an ignored direct'
881 $ hg status --ignored
881 $ hg status --ignored
882 I ignored
882 I ignored
883 I ignored-dir/subdir/1
883 I ignored-dir/subdir/1
884
885 Check using include flag while listing ignored composes correctly (issue6514)
886
887 $ cd ..
888 $ hg init issue6514
889 $ cd issue6514
890 $ mkdir ignored-folder
891 $ touch A.hs B.hs C.hs ignored-folder/other.txt ignored-folder/ctest.hs
892 $ cat >.hgignore <<EOF
893 > A.hs
894 > B.hs
895 > ignored-folder/
896 > EOF
897 $ hg st -i -I 're:.*\.hs$'
898 I A.hs
899 I B.hs
900 I ignored-folder/ctest.hs
General Comments 0
You need to be logged in to leave comments. Login now