Re: Major bug in VS 2008 source code control



David Thielen <thielen@xxxxxxxxxxxxx> wrote in
news:ahuf54tlumbs11b6b12a6gfsqf4uu4ftro@xxxxxxx:

Hi;

One of our developers had a file that they did NOT check out. They
edited it and saved the changed file on their system.

To get back to the correct file they did a "get latest." Get latest
said that they already had the most recent version and did not bring
down the correct file.

How can we use "get latest" to pull down the latest version if that is
not what we have on disk? We have to have this functionality as
otherwise developers will have to compare files 1 by 1 to make sure
they have the latest version.

I wouldn't call that a major bug in the source control system - it's a
bug in your process.

One of two things is probably going on (depending on the source control
system):
- The file on the server hasn't changed, there for the local file is
current. (things like CVS, SVN can work like this)
- The source system doesn't know the local file has changed (the system
"knows" what you have). Perforce (what we use) is like this. So it has no
reason to update anything. (these systems usually have an option
somewhere that says 'ignore what you think I have and update anyways')

For systems like the later, what I find best is to make non-checked out
files readonly. If you change that and edit the file anyways, well that's
your problem! And if the server file changes, you could lose any changes
you've done.

Dave Connet
.



Relevant Pages

  • Re: how to work with a team on delphi?
    ... >> (Actually, source control is ... I never used a source control system until I worked in a team environment ... where all the developers used it. ... version was just an overall blurb, not a detailed, incremental history of each ...
    (borland.public.delphi.non-technical)
  • Problems with Visual Studio, Web Projects, and SourceSafe
    ... We have multiple developers who ... I create a directory on the server underneath wwwroot called ... Another developer gets the project out of source control using ... 'Unable to create web project 'http://10.249.68.51/TimHTest '. ...
    (microsoft.public.dotnet.general)
  • Re: Developer Permissions -vs- SQL Server Managability
    ... source control and we use those scripts to promote objects to QA and beyond. ... Developers are given access to non-dev boxes only for troubleshooting. ... SQL server that the DBA team manages. ... > - The above would allow dev to create/modify objects and execute/reference ...
    (microsoft.public.sqlserver.security)
  • Hide files from some developers
    ... developers, he wants to be able to hide different files ... We already use source control to ... My boss asked me "isn't there just some way you can hide ... for some people in our .Net project would be appreciated. ...
    (microsoft.public.dotnet.general)

Loading