How do you make a build that includes only one of many pending changes?

In my current environment, we have a "clean" build machine, which has an exact copy of all committed changes, nothing more, nothing less.

And of course I have my own machine, with dozens of files in an "in-progress" state.

Often I need to build my application with only one change in place. For example, I've finished task ABC, and I want to build an EXE with only that change.

But of course I can't commit the change to the repository until it's tested.

Branching seems like overkill for this. What do you do in your environment to isolate changes for test builds and releases?

@Matt b: So while you wait for feedback on your change, what do you do? Are you always working on exactly one thing?

Answers


So you are asking how to handle working on multiple "tasks" at once, right? Except branching.

You can have multiple checkouts of the source on the local machine, suffixing the directory name with the name of the ticket you are working on. Just make sure to make changes in the right directory, depending on the task...

Mixing multiple tasks in one working copy / commit can get very confusing, especially if somebody needs to review your work later.


Need Your Help

C# Async Calls (ASMX WebServices in this case)

c# .net compiler-construction asynchronous

Me and my co-worker have been discussing async procedures.

Can i choose more then one value for an attribute in XAML?

c# xaml windows-runtime winrt-xaml

I am experimenting with ManipulationMode in XAML for an Windows store app. I want to have as many settings directly in my xaml so I don't have to use the code behind so much. When I found a solutio...