SliTaz SliTaz Forum

You are not logged in.

#1 2016-01-04 21:26:14

llev
Member
Registered: 2011-12-09
Posts: 568

Can't push

Hi,

Trying to push a commit to slitaz-boot-scripts (to correct the bug in network.sh) fails this way:

[c]llev:/home/slitaz/repos/slitaz-boot-scripts $ hg push
pushing to http://hg.slitaz.org/slitaz-boot-scripts
searching for changes
abandon : authorization failed[/c]
(I switched from tux to llev by [c]su - llev[/c], like I always do.)

Is this a transient problem of the server, or am I missing something?

Offline

#2 2016-01-04 21:27:12

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Can't push

With verbosity:

[c]llev:/home/slitaz/repos/slitaz-boot-scripts $ hg push -v
pushing to http://hg.slitaz.org/slitaz-boot-scripts
searching for changes
1 changesets found
uncompressed size of bundle content:
     275 (changelog)
     164 (manifests)
     137  etc/init.d/network.sh
abandon : authorization failed[/c]

Offline

#3 2016-01-04 21:43:52

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Can't push

$ /home/slitaz/repos/slitaz-boot-scripts/.hg/hgrc

$ /home/slitaz/repos/wok/.hg/hgrc

May help. You can push in wok but not in slitaz-boot-scripts, right ?

Offline

#4 2016-01-05 18:50:18

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Can't push

.hg/hgrc has the same default contents in all repos where I've pushed before, wok, slitaz-tools, slitaz-base-files, and in slitaz-boot-scripts. The only difference is the path (obviously), e.g.:

[c]diff repos/slitaz-b*/.hg/hgrc
3c3
< default = http://hg.slitaz.org/slitaz-base-files
---
> default = http://hg.slitaz.org/slitaz-boot-scripts[/c]
The [auth] section in ~llev/.hgrc reads:

[c]st.prefix = hg.slitaz.org
st.username = llev
st.password = <hidden>
st.schemes = http https[/c]
I've not tested if I can still push to wok. (May I use the test package to try pushing something harmless to wok?)

Offline

#5 2016-01-05 19:49:21

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Can't push

@llev

Recently added hg-users can't push to boot-scripts.

It's not new nor only yours trouble, me found this bug on hg-server about year ago and I still can't push to "slitaz-boot-scripts" too.

I'm sure you still can push to any other repo.

Offline

#6 2016-01-05 21:33:16

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Can't push

@az_ua

Thanks for hiding my PW: woops!

Thanks also for explanation, I hope this can be patched soon.

Offline

#7 2016-01-05 22:19:30

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Can't push

@llev

slitaz-boot-scripts is open again now.

Offline

#8 2016-01-06 16:56:35

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Can't push

It works! And I did NOT touch slitaz-boot-scripts/.hg/hgrc

tux@slitaz:~/slitaz-boot-scripts$ hg push

pushing to http://hg.slitaz.org/slitaz-boot-scripts

searching for changes

1 changesets found

remote: adding changesets

remote: adding manifests

remote: adding file changes

remote: added 1 changesets with 1 changes to 1 files

@llev

Please try again: do fresh NEW "hg clone" in another dir, copy modified network.sh from old one.

Offline

#9 2016-01-06 20:42:29

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Can't push

Thanks to both of you.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]