Pushing to SVN does not mark commits as public

Issue #466 resolved
banjobeni
created an issue

Since using TortoiseHG 4.3.1 together with hgsubversion fc91ba4ffa52 (current head), I have the following issue:

When pushing to a subversion server, pushed commits do not get marked as public.

Somewhere along the way, Mercurial introduced the notion of a publishing repository. Maybe this changes how commits are treated by default? In any case, in my opinion an SVN server should always be treated as a publishing repository, i.e. changesets pushed to it should be changed to be public on the pushing repository.

Comments (6)

  1. Augie Fackler repo owner

    Revisions pulled from svn should definitely be marked public. I'd welcome patches for that, otherwise this is likely to linger for some time as I don't have much time to work on hgsubversion.

  2. banjobeni reporter

    You are right, it seems I cannot repoduce it in a toy repository as well.

    There has to be something wrong somewhere, as I had the problem numerous times and did not change anything since then. I will try to find the steps necessary and get back to you.

    Anyway, thanks for looking into it!

  3. banjobeni reporter

    This is what I observe in the productive (non-toy) repository:

    C:\_projects\Viriato.8\Enterprise>hg log -r tip --debug
    starting pager for command 'log'
    changeset:   52707:4dc006555f4352b98c08ac14a47a4d70ac4487e1
    tag:         tip
    phase:       draft
    parent:      52706:99e7076d18f9f23516520c11ee4d1e6a2fc01cab
    parent:      -1:0000000000000000000000000000000000000000
    manifest:    52664:068fa9e1e30cf4f50224f543b41465d4509c9ab8
    user:        ber
    date:        Thu Nov 09 08:51:44 2017 +0100
    files:       .hgignore
    extra:       branch=default
    description:
    NO-ISSUE: .hgignore
    
    
    
    
    C:\_projects\Viriato.8\Enterprise>hg push
    pushing to http://sma-svn/SVN/products/Viriato.8/Enterprise
    searching for changes
    committing 4dc006555f43
    [r245121] ber: NO-ISSUE: .hgignore
    pulled 1 revisions
    0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    saved backup bundle to C:\_projects\Viriato.8\Enterprise\.hg\strip-backup/4dc006555f43-a3ef5943-backup.hg
    
    C:\_projects\Viriato.8\Enterprise>hg log -r tip --debug
    starting pager for command 'log'
    changeset:   52707:75ceac8b57dd46839845be64a742f53d517517d1
    tag:         tip
    phase:       draft
    parent:      52706:99e7076d18f9f23516520c11ee4d1e6a2fc01cab
    parent:      -1:0000000000000000000000000000000000000000
    manifest:    52664:068fa9e1e30cf4f50224f543b41465d4509c9ab8
    user:        ber@c5e8d3c8-bd76-e04c-88b8-c348e81f2373
    date:        Thu Nov 09 07:52:22 2017 +0000
    files:       .hgignore
    extra:       branch=default
    extra:       convert_revision=svn:c5e8d3c8-bd76-e04c-88b8-c348e81f2373/products/Viriato.8/Enterprise/trunk@245121
    description:
    NO-ISSUE: .hgignore
    
  4. Log in to comment