in

Utah .NET User Group

Home of Utah's professional .NET developers.

TFS: force check in

Last post 07-24-2008 6:27 AM by hemamali. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-12-2007 10:53 AM

    TFS: force check in

    Hey im working on a tool window in VS that will allow you to see current change sets.  What i want to be able to do is allow this change sets to be unlocked, so if a developer goes on vacation and has files changes we can still work on them.  I know there is a command in the TF.exe but i want to integrate it into my tool.  thanks. 

  • 09-13-2007 1:07 PM In reply to

    • Fabio
    • Top 10 Contributor
      Male
    • Joined on 05-15-2006
    • West Jordan, UT
    • Posts 11

    Re: TFS: force check in

    I'm assuming you are using the TFS APIs. If so, you can just retrieve the workspace used to check out the files (using the QueryWorspaces method on the VersionControlServer  for the TFS server you're dealing with) and perform any actions you desire on that workspace (undo a checkout for instance).

    Let me know if you need any more information on this. That should accomplish what you're looking for but let me know if it doesn't.

    Fabio Cavalcante
  • 09-13-2007 1:15 PM In reply to

    Re: TFS: force check in

    Thanks for the reply. That is what i have right now i was hoping for a away to simply unlock the files that way the developer did not lose any changes to there file.

  • 09-13-2007 2:11 PM In reply to

    • Fabio
    • Top 10 Contributor
      Male
    • Joined on 05-15-2006
    • West Jordan, UT
    • Posts 11

    Re: TFS: force check in

    They won't lose their changes (their local file would remain untouched) but they would not be checked into the repository. They can always check out the file again, preserve their changes and check it back in. They may have to merge the changes depending on what changed on the file since the check out was undone, but most of the time, if you had to force their check out to be undone, they deserve the pain of merging the files they forgot to check in. Stick out tongue

    Fabio Cavalcante
    Filed under:
  • 09-13-2007 3:47 PM In reply to

    Re: TFS: force check in

    touche.... Thanks for the help... see you at the group tonight...
  • 09-25-2007 5:13 PM In reply to

    Re: TFS: force check in

     Well I'm almost done with this Plugin if anyone is interested i can send you the installer when I'm done.  Its a  tool window for VS2005 that lets you see files that are checked out and the users that have them checked out as well as force a check in.  This is nothing big but it keeps you from having to use cmd.exe

  • 10-03-2007 12:26 PM In reply to

    • jlong
    • Top 10 Contributor
      Male
    • Joined on 05-10-2006
    • West Jordan, UT
    • Posts 82
    • Leadership

    Re: TFS: force check in

    I would be interested in checking it out. If you want to you can e-mal it to dukk@dukk.org when your done.

    We could probibly setup a place you can post it on the group site for user created tools if your interested.

    Justin Long
    Utah .Net User Group – Secretary
    http://www.dukk.org/
  • 10-03-2007 12:49 PM In reply to

    Re: TFS: force check in

     ill shot it your way when I'm done cleaning it up havnt had much time to work on it the last couple of weeks

  • 10-03-2007 1:24 PM In reply to

    • jlong
    • Top 10 Contributor
      Male
    • Joined on 05-10-2006
    • West Jordan, UT
    • Posts 82
    • Leadership

    Re: TFS: force check in

    After talking with Fabio he thought it would be a good idea to give group memebers a place to post their application downloads so I went ahead and created one. So if your interested we can make you a folder their as well.

    Here's the link to the folder: http://utahdnug.org/files/9/default.aspx

    Justin Long
    Utah .Net User Group – Secretary
    http://www.dukk.org/
  • 07-21-2008 7:00 AM In reply to

    Re: TFS: force check in

    matthew, i would very much like to have this. Does it work with VS2008? would you mind sending me a copy asteggles [at sign] rims.org Also, i discovered this user group by accident over the web, do you know of any really good .net developers who are looking for some extra work? please let me know if you are. Cheers, Andy
  • 07-24-2008 6:27 AM In reply to

    Re: TFS: force check in

Page 1 of 1 (11 items)
Copyright © 2000-2007, Utah .NET User Group
Powered by Community Server (Commercial Edition), by Telligent Systems