0
发出错误的身份TFS当我尝试使用命令git tfs shelve MY_SHELVE_NAME
搁置从混帐TFS我的变化,我得到以下错误:的Git-TFS在货架
TF14045 The identity {my domain}\{my windows user display name} is not a recognized identity.
它看起来像git的TFS是路过我的显示名称,而不是我的用户名。它尝试将本地配置值tfs-remote.default.username和tfs-remote.username设置为我的Windows用户名,但那不起作用。我使用错误的配置值还是其他错误?
的git tfs shelve MY_SHELVE_NAME -d
git command: Starting process: git log --no-color --pretty=medium HEAD
git command: Starting process: git config --list
git command time: [00:00:00.1340134] config --list
git command time: [00:00:00.1700170] log --no-color --pretty=medium HEAD
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.TeamFoundation.VersionControl.Client.IdentityNotFoundException: TF14045: The identity DOMAINNAME\Display Name is not a recognized identity. ---> System.Web.Services.Protocols.SoapException: TF14045: The identity DOMAINNAME\Display Name is not a recognized identity.
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
at Microsoft.TeamFoundation.VersionControl.Client.Repository.QueryShelvesets(String shelvesetName, String ownerName)
at Sep.Git.Tfs.VsCommon.TfsHelperBase.HasShelveset(String shelvesetName)
at Sep.Git.Tfs.Core.GitTfsRemote.HasShelveset(String shelvesetName) in D:\work\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 432
at Sep.Git.Tfs.Commands.Shelve.<>c__DisplayClass1.<Run>b__0(TfsChangesetInfo changeset) in D:\work\git-tfs\GitTfs\Commands\Shelve.cs:line 49
at Sep.Git.Tfs.Core.TfsWriter.Write(String refToWrite, Func`2 write) in D:\work\git-tfs\GitTfs\Core\TfsWriter.cs:line 29
at Sep.Git.Tfs.Commands.Shelve.Run(String shelvesetName, String refToShelve) in D:\work\git-tfs\GitTfs\Commands\Shelve.cs:line 47
at Sep.Git.Tfs.Commands.Shelve.Run(String shelvesetName) in D:\work\git-tfs\GitTfs\Commands\Shelve.cs:line 42
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sep.Git.Tfs.Util.GitTfsCommandRunner.Run(GitTfsCommand command, IList`1 args) in D:\work\git-tfs\GitTfs\Util\GitTfsCommandRunner.cs:line 36
at Sep.Git.Tfs.GitTfs.Main(GitTfsCommand command, IList`1 unparsedArgs) in D:\work\git-tfs\GitTfs\GitTfs.cs:line 56
at Sep.Git.Tfs.GitTfs.Run(IList`1 args) in D:\work\git-tfs\GitTfs\GitTfs.cs:line 39
at Sep.Git.Tfs.Program.Main(String[] args) in D:\work\git-tfs\GitTfs\Program.cs:line 23
TF14045: The identity DOMAINNAME\Display Name is not a recognized identity.
TF14045: The identity DOMAINNAME\Display Name is not a recognized identity.
感谢。我完全错过了这个问题。 – wusher