# hg.sr.ht #25 -rw-r--r-- 1.2 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$ hg init
$ echo "Hello, I'm going to bookmark ^C> README
$ sponge README <<.
Hello

I'm going to create a secret changeset after this, bookmark it and try
to push that.
.
$ e README
$ hg add README 
$ hg s
README
$ hg ci
$ hg push ssh://hg@hg.sr.ht/~zash/issue25
pushing to ssh://hg@hg.sr.ht/~zash/issue25
searching for changes
remote: adding changesets                                                                                              
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
remote: 
remote: 	NOTICE
remote: 	We saved your changes, but this repository does not exist.
remote: 	Click here to create it:
remote: 	https://hg.sr.ht/create?name=issue25
remote: 	Your changes will be discarded in 20 minutes.
remote: 
$ sponge -a README <<.
This be thy secret!
.
$ hg ci -s -m 'Secret!'
$ hg bo test
$ hg push ssh://hg@hg.sr.ht/~zash/issue25 -B test
pushing to ssh://hg@hg.sr.ht/~zash/issue25
searching for changes
no changes found (ignored 1 secret changesets)
exporting bookmark test
$ 
$ hg in -B
abort: repository default not found!
$ hg in ssh://hg@hg.sr.ht/~zash/issue25 -B 
comparing with ssh://hg@hg.sr.ht/~zash/issue25
searching for changed bookmarks
no changed bookmarks found