TFS: problems after working offline

This forum is for all Flare issues related to using Source Control.

TFS: problems after working offline

Postby lzampich on Wed Sep 23, 2009 8:01 am

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.
lzampich
Jr. Propeller Head
 
Posts: 9
Joined: Wed Mar 11, 2009 7:42 am
Location: The Netherlands

Re: TFS: problems after working offline

Postby SteveS on Wed Sep 23, 2009 2:27 pm

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
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
SteveS
Senior Propellus Maximus
 
Posts: 2010
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).

Re: TFS: problems after working offline

Postby lzampich on Fri Jul 02, 2010 5:06 am

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.
lzampich
Jr. Propeller Head
 
Posts: 9
Joined: Wed Mar 11, 2009 7:42 am
Location: The Netherlands

Re: TFS: problems after working offline

Postby lzampich on Fri Jul 02, 2010 5:11 am

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.
lzampich
Jr. Propeller Head
 
Posts: 9
Joined: Wed Mar 11, 2009 7:42 am
Location: The Netherlands

Re: TFS: problems after working offline

Postby SteveS on Sun Jul 04, 2010 2:49 pm

I'm glad you found the tools useful.

Cheers
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
SteveS
Senior Propellus Maximus
 
Posts: 2010
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).


Return to Source Control

Who is online

Users browsing this forum: No registered users and 2 guests