Mercurial > hg
diff mercurial/i18n.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 | 79dd61a4554f |
children | dd83aafdb64a |