Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to best control non-working code with source control?

by kyle (Abbot)
on Apr 11, 2008 at 18:02 UTC ( [id://679796]=note: print w/replies, xml ) Need Help??


in reply to How to best control non-working code with source control?

I'll echo pc88mxer. The better way is with branching and merging. The workflow goes like this:

  1. Create a branch off of trunk/master/production.
  2. Within that branch, make changes.
  3. Do commits to the branch at appropriate points. It doesn't have to be perfect because it doesn't affect anything in the main line.
  4. When it's back to working, merge the branch in with the other working code.

By the way, if you're looking for "the change that broke it", git-bisect is taylor made for that—if you're using git, of course.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://679796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2025-03-24 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (65 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.