Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. SourceSafe peeve

SourceSafe peeve

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptvisual-studiocomtools
20 Posts 16 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matt Newman
    wrote on last edited by
    #1

    Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
    Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

    O L C R M 6 Replies Last reply
    0
    • M Matt Newman

      Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
      Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

      O Offline
      O Offline
      ogrig
      wrote on last edited by
      #2

      Matt Newman wrote: Why can't closing Visual Studio check in projects ?!? heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well OGR

      M 1 Reply Last reply
      0
      • M Matt Newman

        Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
        Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        Matt Newman wrote: Why can't closing Visual Studio check in projects ?!? Im sure that's an option you can select. xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

        1 Reply Last reply
        0
        • O ogrig

          Matt Newman wrote: Why can't closing Visual Studio check in projects ?!? heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well OGR

          M Offline
          M Offline
          Matt Newman
          wrote on last edited by
          #4

          ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
          Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

          G J L A B 5 Replies Last reply
          0
          • M Matt Newman

            ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
            Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

            G Offline
            G Offline
            GDavy
            wrote on last edited by
            #5

            I have often enough made big changes to projects and thank god VS doesn`t check in when I close it. Sometimes changes need deep thorough testing before they should be checked in, especially if they are made in a sensitive part of the program. Nope, I think manual check in is safest of all... It's a human check that the code being committed is safe... If it^s not well, then at least the error lies with the user and not the software. Greetings, Davy

            1 Reply Last reply
            0
            • M Matt Newman

              Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
              Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              The REAL annoyance is, if VS is linked to VSS, why doesn't adding a file to the project add it to source safe ? I've been bitten by that more than once. Christian Graus - Microsoft MVP - C++

              N D 2 Replies Last reply
              0
              • C Christian Graus

                The REAL annoyance is, if VS is linked to VSS, why doesn't adding a file to the project add it to source safe ? I've been bitten by that more than once. Christian Graus - Microsoft MVP - C++

                N Offline
                N Offline
                NityaKakkar
                wrote on last edited by
                #7

                Hi, I also need some help i think its somewhat related to this. I want to create an MFC application in it I want to use perl. Suppose there's a Dialog Box on it there r buttons when we click on them the code associated with that button should be executed. Now, if we click on the 1st button its create new project button the following code should get generated chomp ($proj = ); system ("ss Create $proj"); print("$proj Project has been Created Successfully.\n\n"); Above code first asks for the name of the project that has to be created. Then second line executes the system cmd & creates a project that the name u specified. ss Create is an system cmd for executing system cmd we use system keyword. And finally prints the msg Project_Name Project has been Created Successfully. This cmd creates a project in VSS. This script I created for CLI I.e cmd prompt. Now I want the same application to be executed using VC++. Plz. let me know as soon as possible.:)

                A 1 Reply Last reply
                0
                • M Matt Newman

                  ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
                  Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                  J Offline
                  J Offline
                  Jorgen Sigvardsson
                  wrote on last edited by
                  #8

                  When I close Visual Studio, my code is seldom in a non-broken state. Rule of thumb: never commit "unfinished business". Have you considered using other less restrictive revision management systems? I like how CVS works (and many other systems) - files are never locked, and only changes are sent to the repository. Sure, there may be conflicts from time to time, but they're mostly very easy to resolve. -- Schni Schna Schnappi! Schnappi Schnappi Schnapp!

                  1 Reply Last reply
                  0
                  • M Matt Newman

                    ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
                    Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    I have to disagree wit hthat, automatic checkins can generate massive numbers of revisions even with a few developers plus a revision control system is not a substitute for thinking about you're doing. Yes, I'm working with revision control a lot just now :laugh: Elaine (revised fluffy tigress) The tigress is here :-D

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      The REAL annoyance is, if VS is linked to VSS, why doesn't adding a file to the project add it to source safe ? I've been bitten by that more than once. Christian Graus - Microsoft MVP - C++

                      D Offline
                      D Offline
                      Daniel Turini
                      wrote on last edited by
                      #10

                      Christian Graus wrote: why doesn't adding a file to the project add it to source safe Because it could break compilation for other people. I see dead pixels Yes, even I am blogging now!

                      C 1 Reply Last reply
                      0
                      • M Matt Newman

                        ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
                        Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                        A Offline
                        A Offline
                        Anna Jayne Metcalfe
                        wrote on last edited by
                        #11

                        As a long term SourceSafe admin I can tell you that a) Visual Studio can do this and b) it's such a bad idea that it's disabled by default. If you work in a team environment (say, 10 developers or more) you'll soon see why this is the case. Anna :rose: Riverblade Ltd - Software Consultancy Services Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                        L 1 Reply Last reply
                        0
                        • N NityaKakkar

                          Hi, I also need some help i think its somewhat related to this. I want to create an MFC application in it I want to use perl. Suppose there's a Dialog Box on it there r buttons when we click on them the code associated with that button should be executed. Now, if we click on the 1st button its create new project button the following code should get generated chomp ($proj = ); system ("ss Create $proj"); print("$proj Project has been Created Successfully.\n\n"); Above code first asks for the name of the project that has to be created. Then second line executes the system cmd & creates a project that the name u specified. ss Create is an system cmd for executing system cmd we use system keyword. And finally prints the msg Project_Name Project has been Created Successfully. This cmd creates a project in VSS. This script I created for CLI I.e cmd prompt. Now I want the same application to be executed using VC++. Plz. let me know as soon as possible.:)

                          A Offline
                          A Offline
                          Anna Jayne Metcalfe
                          wrote on last edited by
                          #12

                          Ask in the forums. The lounge is for chilling and chatting. Anna :rose: Riverblade Ltd - Software Consultancy Services Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                          1 Reply Last reply
                          0
                          • M Matt Newman

                            Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
                            Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                            R Offline
                            R Offline
                            Rob Manderson
                            wrote on last edited by
                            #13

                            Matt Newman wrote: Why can't closing Visual Studio check in projects ?!? If it did I'd banish SourceSafe forever. Changes to the repository should NEVER be automatic. You need someone to blame for broken builds if only to have someone you can force to unbreak the builds. Seriously, your SourceSafe (or whatever source control system you use) repository is your IP - changes to it should be the result of conscious human decision; not the result of a random closing of the development toolset. Rob Manderson I'm working on a version for Visual Lisp++ My blog http://blogs.wdevs.com/ultramaroon/[^]

                            M 1 Reply Last reply
                            0
                            • A Anna Jayne Metcalfe

                              As a long term SourceSafe admin I can tell you that a) Visual Studio can do this and b) it's such a bad idea that it's disabled by default. If you work in a team environment (say, 10 developers or more) you'll soon see why this is the case. Anna :rose: Riverblade Ltd - Software Consultancy Services Anna's Place | Tears and Laughter "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work.

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Or 500 across three continents :sigh: It's Labelmania ! :rolleyes: The tigress is here :-D

                              G 1 Reply Last reply
                              0
                              • R Rob Manderson

                                Matt Newman wrote: Why can't closing Visual Studio check in projects ?!? If it did I'd banish SourceSafe forever. Changes to the repository should NEVER be automatic. You need someone to blame for broken builds if only to have someone you can force to unbreak the builds. Seriously, your SourceSafe (or whatever source control system you use) repository is your IP - changes to it should be the result of conscious human decision; not the result of a random closing of the development toolset. Rob Manderson I'm working on a version for Visual Lisp++ My blog http://blogs.wdevs.com/ultramaroon/[^]

                                M Offline
                                M Offline
                                Mike Dimmick
                                wrote on last edited by
                                #15

                                Let's say you did turn this option on. Then, if you wanted to avoid checking something in overnight, you'd have to leave the development environment running. Now let's say Windows Update kicks in, installs some patches, and needs to reboot the computer. On rebooting, it quits VS, and on quitting Visual Studio, your changes, that weren't ready to check in, get checked in automatically. Oops! I have to quit VS often enough just because it's stopped working properly. I often have trouble with it not rebuilding properly on one of our solutions, particularly when changing between Debug and Release configurations. This is a Compact Framework solution. Another occasion I need to quit - and not check in changes - is when the environment simply stops communicating with the mobile device at the beginning of a debugging session. I certainly don't want to check in changes I haven't run through in the debugger yet! Stability. What an interesting concept. -- Chris Maunder

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Or 500 across three continents :sigh: It's Labelmania ! :rolleyes: The tigress is here :-D

                                  G Offline
                                  G Offline
                                  Gavin Greig
                                  wrote on last edited by
                                  #16

                                  Trollslayer wrote: It's Labelmania ! At least labels are being used then... It could be worse! Gavin Greig "Haw, you're no deid," girned Charon. "Get aff ma boat or ah'll report ye." Matthew Fitt - The Hoose O Haivers: The Twelve Trauchles O Heracles.

                                  1 Reply Last reply
                                  0
                                  • M Matt Newman

                                    ogrig wrote: heaven forbid !!! I understand that vss is not everybdy's cup of tea, but please don't bash it for the things is does well I like Visual Studio, I just don't think I should manually have to check-in a project. I would think it would be logical to do this upon exiting visual studio. I wasn't bashing anything. Matt Newman
                                    Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                                    B Offline
                                    B Offline
                                    BlackDice
                                    wrote on last edited by
                                    #17

                                    I use VSS with .Net 2003. Make it where it does not make your files read only. that way you can save the file, it just won't be checked in also, if you do this, when you get latest version, make sure that you check the 'Don't get local copy' option so that it will not overwrite the saved copy. My articles www.stillwaterexpress.com BlackDice

                                    1 Reply Last reply
                                    0
                                    • M Matt Newman

                                      Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
                                      Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                                      M Offline
                                      M Offline
                                      malharone
                                      wrote on last edited by
                                      #18

                                      You can set this option in VS. Tools > Options > Source Control > General. Check the checkbox "Check in everything when closing a solution".

                                      1 Reply Last reply
                                      0
                                      • M Matt Newman

                                        Wow am I annoyed tonight, I needed to open a project that I put in sourcesafe so I could work on it from multiple computers seamlessly... And I just needed to change 1 line of code and run it to see how it would react. Didn't need to save it just wanted to see it. Oh wait I never checked it in on my laptop :doh: Why can't closing Visual Studio check in projects ?!? Matt Newman
                                        Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots

                                        J Offline
                                        J Offline
                                        joan_fl
                                        wrote on last edited by
                                        #19

                                        Nice Tag line.... :doh: Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots ------------------------------- Joan MomComputerGeek.com

                                        1 Reply Last reply
                                        0
                                        • D Daniel Turini

                                          Christian Graus wrote: why doesn't adding a file to the project add it to source safe Because it could break compilation for other people. I see dead pixels Yes, even I am blogging now!

                                          C Offline
                                          C Offline
                                          Christian Graus
                                          wrote on last edited by
                                          #20

                                          Daniel Turini wrote: Because it could break compilation for other people. Wrong. When I add the file, it should get added to sourcesafe, as an empty file ( the default that the IDE generates ), and then be checked out to me. Until I check in the project, other users won't even get/use the file, and it won't have any half baked code that could break the build, even if I checked in right away. As it stands, if I check in the project ( which gets checked out to add the file ), THEN other people's build breaks if I have not manually added the file. Christian Graus - Microsoft MVP - C++

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups