Creating and Cloning a repository

pdavidson's Avatar

pdavidson

17 Feb, 2016 08:07 PM

Minor issue but it bothers some of our users.
When creating a repo vai HgLab, if you include a .hgignore file in the initial creation,
the create time is shown in UTC rather than local time.

If you don't include the .hgignore, but rather paste it into the local repo after you have cloned it, and then push it back up to the server, then creation time is shown in local time.

It would be great if this minor issue could get fixed.
(I just noticed 1.9.7 is out, we're on 1.9.4 so I'll check the logs and update us to see if this has been fixed.)

  1. Support Staff 1 Posted by Anton Gogolev on 21 Feb, 2016 03:25 PM

    Anton Gogolev's Avatar

    Paul,

    Thanks a lot for reporting. Will get this fixed!

  2. 2 Posted by pdavidson on 22 Feb, 2016 09:27 PM

    pdavidson's Avatar

    Hi Anton:

    I just remembered that I think there’s another minor bug with the creation of a repo from HgLab with a .hgignore file.

    It might be that this is only related to empty/new repos or first repo in a Project or….

    But we have seen where the new repo created with a .hgignore file shows up both with UTC and with the wrong user name.
    it shows users name of the person who created the Project (I think… Been awhile since I’ve looked at this.)

    You can check out Problem #344 I think:
    http://support.hglabhq.com/discussions/questions/344-creating-repo-in-a-group

    - Paul Davidson
    ABCWUA
    GIS/Maximo IT Manager
    (505) 289-3225 – Desk
    (505) 506-5960 – Cell

  3. Support Staff 3 Posted by Anton Gogolev on 25 Feb, 2016 07:38 PM

    Anton Gogolev's Avatar

    Whoa, that's one forgotten bug. Thanks for being so patient :)

  4. 4 Posted by pdavidson on 25 Feb, 2016 07:46 PM

    pdavidson's Avatar

    No worries…
    If it were critical, we’d have been a squeaky wheel.
    The work around is to create an empty repo with a /.hgignore file and then copy one in by hand.
    I think after the initial creation, clone, etc… and push back it functions as normal.
    But it is nice to be able to able to add the .hgignore file at creation.
    In fact, I do that and then just put a note that the creation time is off by UTC.

    Thanks.

  5. 5 Posted by pdavidson on 17 May, 2016 03:59 PM

    pdavidson's Avatar

    pssttt, squeak squeak ;-)
    Just a reminder to see if this can get fixed before 1.9.8 or whatever next release ordinal will be.

    FYI - problem #344 has best details of the issue.

    The UTC issue with .hgignore is not a big deal because it goes away after the first commit.
    But the repo creator name being set to the Project creator's name is a bit more of an issue because that name never changes. However, when you have one name creating the repo and then another name adding N commits and the only commits are from the other name, then it's pretty obvious what's going on (if you're aware of this issue.) But when you have multiple folks working on a repo, it's more problematic. Well, that assumes there's a problem with having the wrong name on a repo creation. Certainly it's not optimal.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Feb, 2019 09:20 AM
26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM
06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM

 

20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM
27 May, 2018 01:33 AM
14 May, 2018 03:38 PM
04 May, 2018 07:45 AM
28 Feb, 2018 07:08 AM