Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unshelve results in "The method or operation is not implemented" #77

Closed
danspam opened this issue Aug 26, 2011 · 2 comments
Closed

Unshelve results in "The method or operation is not implemented" #77

danspam opened this issue Aug 26, 2011 · 2 comments

Comments

@danspam
Copy link

danspam commented Aug 26, 2011

When I try to run a git tfs unshelve -u "myuser" "shelvsetname" "branchname" I receive the error "The method or operation is not implemented"

Stack Trace:

System.Reflection.TargetInvocationException: Exception has been thrown by the ta
rget of an invocation. ---> System.NotImplementedException: The method or operat
ion is not implemented.
at Sep.Git.Tfs.VsCommon.TfsHelperBase.FakeItem.get_ChangesetId() in D:\Librar
ySourceCode\git-tfs\GitTfs.VsCommon\TfsHelper.Common.cs:line 388
at Sep.Git.Tfs.Core.TfsChangeset.GetPathBeforeRename(IItem item) in D:\Librar
ySourceCode\git-tfs\GitTfs\Core\TfsChangeset.cs:line 97
at Sep.Git.Tfs.Core.TfsChangeset.Rename(IChange change, String pathInGitRepo,
GitIndexInfo index, IDictionary2 initialTree) in D:\LibrarySourceCode\git-tfs\ GitTfs\Core\TfsChangeset.cs:line 70 at Sep.Git.Tfs.Core.TfsChangeset.Apply(IChange change, GitIndexInfo index, ID ictionary2 initialTree) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\TfsChangese
t.cs:line 47
at Sep.Git.Tfs.Core.TfsChangeset.Apply(String lastCommit, GitIndexInfo index)
in D:\LibrarySourceCode\git-tfs\GitTfs\Core\TfsChangeset.cs:line 31
at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass6.b__4(GitIndexInfo
index) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 299
at Sep.Git.Tfs.Core.GitIndexInfo.Do(TextWriter stdin, IGitRepository reposito
ry, Action1 action) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitIndexInfo.cs :line 21 at Sep.Git.Tfs.Core.GitIndexInfo.<>c__DisplayClass1.<Do>b__0(TextWriter stdin ) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12 at Sep.Git.Tfs.Core.GitHelpers.<>c__DisplayClassb.<CommandInputPipe>b__a() in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitHelpers.cs:line 160 at Sep.Git.Tfs.Core.GitHelpers.Time(String[] command, Action action) in D:\Li brarySourceCode\git-tfs\GitTfs\Core\GitHelpers.cs:line 182 at Sep.Git.Tfs.Core.GitHelpers.CommandInputPipe(Action1 action, String[] com
mand) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitHelpers.cs:line 156
at Sep.Git.Tfs.Core.GitIndexInfo.Do(IGitRepository repository, Action1 index Action) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitIndexInfo.cs:line 12 at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass6.<Apply>b__3() in D:\Libra rySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 299 at Sep.Git.Tfs.Core.GitTfsRemote.<>c__DisplayClass1a.<WithTemporaryIndex>b__1 9() in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 392 at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryEnvironment(Action action, IDic tionary2 newEnvironment) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitTfsRemo
te.cs:line 402
at Sep.Git.Tfs.Core.GitTfsRemote.WithTemporaryIndex(Action action) in D:\Libr
arySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 389
at Sep.Git.Tfs.Core.GitTfsRemote.Apply(String lastCommit, ITfsChangeset chang
eset) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 298
at Sep.Git.Tfs.Core.GitTfsRemote.Apply(ITfsChangeset changeset, String destin
ationRef) in D:\LibrarySourceCode\git-tfs\GitTfs\Core\GitTfsRemote.cs:line 177
at Sep.Git.Tfs.VsCommon.TfsHelperBase.Unshelve(Unshelve unshelve, IGitTfsRemo
te remote, IList1 args) in D:\LibrarySourceCode\git-tfs\GitTfs.VsCommon\TfsHelp er.Common.cs:line 222 at Sep.Git.Tfs.Commands.Unshelve.Run(IList1 args) in D:\LibrarySourceCode\gi
t-tfs\GitTfs\Commands\Unshelve.cs:line 40

Any ideas what may cause this?

Thanks

git version 1.7.6.msysgit.0
compiled latest version of git-tfs

@ivan-danilov
Copy link
Member

Thanks. It seems unshelve has problems with renames. I'll see into this.

@ivan-danilov
Copy link
Member

Feel free to reopen the issue if problems are still exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants