Page 1 of 1

TFS: problems after working offline

Posted: Wed Sep 23, 2009 8:01 am
by lzampich
I'm working on a laptop. In the office with direct access to TFS, source control works beautifully.
When working from home I have no access to the source control server. Flare correctly reminds me about that and I can work on my project offline.
Then back in the office (having direct access to TFS), Flare will note only new topics in the pending check-in list. Topics that existed before going offline and that were simply changed will NOT appear in the pending changes list. That's unhandy and error prone.

The source control in use is Visual Studio 2008 Team Explorer.
Any help will be much appreciated!
(The issue has been sent to MadCap support, too. They have not yet found a solution.)

Thanks,
Lydia.

Re: TFS: problems after working offline

Posted: Wed Sep 23, 2009 2:27 pm
by SteveS
Hi Lydia,

TFS has some powertools that may help.

I can't remember exact names, it was a couple of years ago I used them, but there is a TFS command line tool that allows you to work remote to the TFS server. When you re-establish the server connection (return to the office) the tool examines files that have changed (I'm guessing it looks for files that have the 'read only' bit changed) and allows you to book them in.

A quick internet search makes me think you need the 'online' command that creates pending edits for writable files that don't have pending edits...

HTH

Re: TFS: problems after working offline

Posted: Fri Jul 02, 2010 5:06 am
by lzampich
Hi Steve,
thanks a lot for your reply and sorry for being sooo late in responding.
I found the tfpt online command and yes, this will find a lot of changes. For now a bit too much. When comparing folders in TFS I can set a filter and exclude irrelevant folders. I haven't found that kind of option (yet) for the online tool.

Re: TFS: problems after working offline

Posted: Fri Jul 02, 2010 5:11 am
by lzampich
I replied too fast - that filter option exists: tfpt online accepts the parameter /exlude:filespec[...] which should do the trick. And there is even an environment variable that can be used TFPT_ONLINE_EXCLUDE.

Re: TFS: problems after working offline

Posted: Sun Jul 04, 2010 2:49 pm
by SteveS
I'm glad you found the tools useful.

Cheers