Mercurial > hg
comparison mercurial/mail.py @ 39547:41ac8ea1bdd7 stable
subrepo: mask out passwords embedded in the messages displaying a URL
I noticed the password in maintenance logs for the "no changes since last push"
and "pushing to" messages when pushing with an explicit path. But the test case
here with :pushurl was also affected. I didn't see that cloning or pulling
subrepos on demand had this problem, but it seems safer to just mask that too.
There's a bit of a disconnect here, because it looks like clone is slicing off
the password (makes sense not to store it in the hgrc in cleartext). But not
shearing it off of an explicit path causes the subrepo not to realize that it
already pushed the latest stuff. This is the easiest fix, however.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 11 Sep 2018 13:52:17 -0400 |
parents | 7b12a2d2eedc |
children | 858fe9625dab |
comparison
equal
deleted
inserted
replaced
39455:6af7765bdb7c | 39547:41ac8ea1bdd7 |
---|