Skip to content

Instantly share code, notes, and snippets.

@fmitha
Created March 7, 2019 13:40
Show Gist options
  • Save fmitha/6b31e4733be4fbf2e6ace27f693bb11d to your computer and use it in GitHub Desktop.
Save fmitha/6b31e4733be4fbf2e6ace27f693bb11d 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
##################################################
faheem@orwell:~/personal$ hg push -r 2b58d5b403f --debug
pushing to ssh://ramnode_hg//srv/hg/faheem/personal
running ssh -C ramnode_hg 'hg -R /srv/hg/faheem/personal serve --stdio'
sending hello command
sending between command
remote: 538
remote: capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
remote: 1
sending protocaps command
invalid branchheads cache (immutable): tip differs
query 1; heads
sending batch command
searching for changes
all remote heads known locally
preparing listkeys for "phases"
sending listkeys command
received listkey for "phases": 42 bytes
preparing listkeys for "namespaces"
sending listkeys command
received listkey for "namespaces": 40 bytes
query 0; add more sample (target 100, current 2)
query 0; sample size is 100, largest range 1666
sending evoext_obshashrange_v1 command
obsdiscovery, 0/1667 mismatch - 1 obshashrange queries in 0.1671 seconds
checking for updated bookmarks
preparing listkeys for "bookmarks"
sending listkeys command
received listkey for "bookmarks": 0 bytes
no changes found
preparing listkeys for "phases"
sending listkeys command
received listkey for "phases": 42 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment