[Bug 4536] New: When pushing a tag for a revision that does not exist at the destination Mercurial does not warn you.

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Feb 12 22:05:39 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4536

          Priority: normal
            Bug ID: 4536
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: When pushing a tag for a revision that does not exist
                    at the destination Mercurial does not warn you.
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: jeremy at marzhillstudios.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial

This can happen when a user is using multiple heads locally and mistakenly
creates a tag for a revision in one head from a different head.

If the user then subsequently pushes the head with the tag but abandons and
does not push the head the tag points then you have an invalid tag for everyone
to pull down later.

My team at work has somehow managed to do this twice. I'm probably going to
write a hook to catch on our repository server but it might be nice if
mercurial warned the user before pushing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list