Skip to content

Instantly share code, notes, and snippets.

@fmitha
Created March 7, 2019 13:33
Show Gist options
  • Save fmitha/095ee6447abe4a2d726f922522684f30 to your computer and use it in GitHub Desktop.
Save fmitha/095ee6447abe4a2d726f922522684f30 to your computer and use it in GitHub Desktop.
LOCAL REPOS
faheem@orwell:~/personal$ hg heads
changeset: 2921:2b58d5b403f7
tag: tip
user: Faheem Mitha <[email protected]>
date: Thu Mar 07 04:23:58 2019 +0530
summary: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
changeset: 2885:ba4585ffbf28
parent: 2882:e2e3674af62f
user: Faheem Mitha <[email protected]>
date: Thu Feb 14 16:14:27 2019 +0530
summary: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REMOTE REPOS
faheem@orwell:/srv/hg/faheem/personal$ hg heads
changeset: 1796:dae9205cfdc4
tag: tip
user: Faheem Mitha <[email protected]>
date: Wed Feb 13 18:33:22 2019 +0530
summary: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CSET CORRESPONDING TO REMOTE HEAD IN LOCAL REPOS
faheem@orwell:~/personal$ hg log -r dae9205cfdc4 --hidden
changeset: 2881:dae9205cfdc4
user: Faheem Mitha <[email protected]>
date: Wed Feb 13 18:33:22 2019 +0530
obsolete: rebased using evolve as 2888:86691978bebd
summary: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PUSHING 2b58d5b403f7 TO REMOTE
faheem@orwell:~/personal$ hg push -r 2b58d5b403f local
pushing to /srv/hg/faheem/personal
searching for changes
adding changesets
adding manifests
adding file changes
added 9 changesets with 6 changes to 7 files (+1 heads)
32 new obsolescence markers
transaction abort!
rollback completed
abort: push create a new head on branch "default"
REMOTE STILL HAS THE SAME HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment