[petsc-users] make dist + hg

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 15 15:45:28 CST 2013


On Tue, Jan 15, 2013 at 3:40 PM, Satish Balay <balay at mcs.anl.gov> wrote:

>
> Why not commit your changes, and always do 'hg pull --rebase' to get
> latest petsc-dev stuff?
>
> Also - for uncommited stuff - I would get a patchfile with 'hg diff'
> and apply it to the remote source tree.


I would keep an hg clone on each machine. Then you can push and pull your
changes. I'd put all your changes in a bookmark that you can rebase. Note
that when you rebase, you'll get new commits when you pull from one of the
other machines, and you should get rid of the old patches. (You can also
merge each time, but then you get lots of merge commits that don't really
mean anything; and it's harder to send your patches upstream because the
merge commits end up in the wrong place.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130115/999c4798/attachment.html>


More information about the petsc-users mailing list