From: Catalin Marinas Date: Fri, 05 Jan 2007 09:07:51 GMT Subject: Re: [BUG] stgit: unexpected "unknown user details" on refresh Message-ID: In-Reply-To: <20070104232224.GA12756@nan92-1-81-57-214-146.fbx.proxad.net> On 04/01/07, Yann Dirson wrote: > Here is an error I just got when refreshing. The refresh did occur, but > the error is annoying and may hide something: > > dwitch@gandelf:/export/work/yann/git/stgit$ ./stg ref contrib/stg-whatchanged > Checking for changes in the working directory... done > Refreshing patch "whatchanged"...stg ref: unknown user details I changed StGIT to use the same configuration file as GIT and it cannot find the user information. To remove the error: git repo-config --global user.name Yann Dirson git repo-config --global user.email ydirson@altern.org It probably tries to set the author information for the patch and GIT_AUTH* or GIT_COMMIT* aren't set but it would be probably useful to get the full backtrace of this error (at the end of the stgit/main.py file, just add a "raise" before sys.exit(2)). -- Catalin