Menu

Checking In/Out with Hg

2018-09-07
2018-09-11
  • Ted Matavka

    Ted Matavka - 2018-09-07

    In reaction to popular demand, this is an elementary guide to checking code in and out with Mercurial, abbreviated (for historical reasons) as Hg.

    To check code out (download it to your computer so you can make changes), open up a Unix command prompt and enter the following commands:

    $ hg pull ssh://USERNAME@hg.code.sf.net/p/hermesmail/code
    [enter your sourceforge PASSWORD]
    $ cp hermesmail-code hermesmail-wd
    $ cd hermesmail-wd
    

    You should be in a working copy of the main source directory. Make your changes now. Then, to check the changes in:

    $ hg commit
    [write a short summary of the changes you made, then :wq out of the file]
    $ hg push ssh://USERNAME@hg.code.sf.net/p/hermesmail/code
    [enter your password]
    

    If you seriously fizzucked something up, you can kill your working directory like so:

    $ cd ~
    $ rm -rf hermesmail-wd
    $ cp -r hermesmail-code hermesmail-wd
    
     
  • Ted Matavka

    Ted Matavka - 2018-09-11

    Bump.

     
    • Soren Bro

      Soren Bro - 2018-09-11

      I stopped Pete in his tracks because I corrected what I thought was an
      error but turned out to be a file missing from the repo (Hence my request
      elsewhere that people upload everything they got, which is legal to put up
      there.)

      To my consternation, the ROLLBACK command is described as DANGEROUS and
      DEPRECATED. I tried anyway to no avail.

      Looking online people suggested using STRIP. A command I couldn't find an
      hg didn't recognise.

      In the end I had to undo my changes manually as to not hold Pete back
      longer than absolutely necessary

      A guide in doing a rollback of a complete PUSH would be very welcome.

      Regards

      On Tuesday, September 11, 2018, Ted Matavka nmatavka@users.sourceforge.net
      wrote:

      Bump.

      Checking In/Out with Hg
      https://sourceforge.net/p/hermesmail/discussion/general/thread/8605cf5d/?limit=25#de9f


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/hermesmail/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Søren Bro Thygesen

       
      • Soren Bro

        Soren Bro - 2018-09-11

        That is, if anyone know of the top of their head. I was pretty stressed at
        the time, as you might imagine. If no one knows I could of course
        investigate myself.

        Regards

        On Tuesday, September 11, 2018, Ted Matavka nmatavka@users.sourceforge. net wrote:

        Bump.

        Checking In/Out with Hg
        https://sourceforge.net/p/hermesmail/discussion/general/thread/8605cf5d/?limit=25#de9f


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/hermesmail/discussion/general/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

        --
        Søren Bro Thygesen

        --
        Søren Bro Thygesen

         
        • Ted Matavka

          Ted Matavka - 2018-09-11

          I'll definitely investigate and get back to you in about ten minutes. Could you please do something for me, though, as well? I've had a look as to how we might simplify the whole HTML layout engine issue, and I found something called the "Chromium Embedded Framework" (https://bitbucket.org/chromiumembedded/cef). It looks like the solution to most of our problems. Could you take a peek and see if I'm right or not?

           

Log in to post a comment.