[PATCH 3 of 3 V2] largefiles: makes cloning not ask two times about password (issue4883)

Yuya Nishihara yuya at tcha.org
Mon Jun 20 09:16:19 EDT 2016


On Mon, 20 Jun 2016 11:18:45 +0200, liscju wrote:
> # HG changeset patch
> # User liscju <piotr.listkiewicz at gmail.com>
> # Date 1465468917 -7200
> #      Thu Jun 09 12:41:57 2016 +0200
> # Node ID 732200562b978db7fc203a16b2bc34b291c372b2
> # Parent  b733bab6a48a5d73a51e0f040fe3c04f6a9f0011
> largefiles: makes cloning not ask two times about password (issue4883)

> +largefiles should not ask for password again after succesfull authorization
> +
> +  $ hg init credentialmain
> +  $ cd credentialmain
> +  $ echo "aaa" >> a
> +  $ hg add --large a
> +  $ hg commit -m "a"
> +  Invoking status precommit hook
> +  A a
> +
> +Before running server clear the user cache to force clone to download
> +a large file from the server rather than to get it from the cache
> +
> +  $ rm ${USERCACHE}/*

Changed to "${USERCACHE}"/* as $USERCACHE is quoted other places.


More information about the Mercurial-devel mailing list