gornostal / Modific

Highlight lines changed since the last commit (supports Git, SVN, Bazaar, Mercurial and TFS) / ST2(3) plugin
615 stars 44 forks source link

TFS #68

Open KindDragon opened 10 years ago

KindDragon commented 10 years ago

Please support Microsoft TFS

KindDragon commented 10 years ago

You can use codeplex site for tests with TFS

gornostal commented 10 years ago

I'll keep this ticket open, until I have time to do this, or maybe somebody sends a pull request.

gornostal commented 10 years ago

@KindDragon please test. The only thing I changed is command to get a list of not checked in files. Now it works much faster.

KindDragon commented 10 years ago

@KindDragon please test.

Works good for me

KindDragon commented 10 years ago

Can you make "Comparing local to latest" asynchronous? This action take 1-2 seconds for my repository and sublime non responsive when this action executing

gornostal commented 10 years ago

What do you mean by "Comparing local to latest"? What Modific's command is that?

KindDragon commented 10 years ago

Sorry, I mean diff command that is performed when opening files

gornostal commented 10 years ago

That's weird. It was a fairly quick command when I was testing.

Can you tell TFS command that does diff without hitting the network?

On May 26, 2014, at 14:51, Arkadiy Shapkin notifications@github.com wrote:

Sorry, I mean diff command that is performed when opening files

— Reply to this email directly or view it on GitHubhttps://github.com/gornostal/Modific/issues/68#issuecomment-44182200 .

KindDragon commented 10 years ago

TFS always do diff over network.

gornostal commented 10 years ago

Modific always runs commands asynchronously.

Can you tell how to reproduce this issue? As I said, It worked well for me. What should I do to a repository to make diff command slow?

KindDragon commented 10 years ago

I don't know :( My TFS repository is very big. I guess because of that

gornostal commented 10 years ago

Anyway Modific shouldn't freeze while executing diff command.

KindDragon commented 10 years ago

I found root of this issue, it is tfs_root that called from main thread.

gornostal commented 10 years ago

OK. I'll try to fix this.