Revision as of 00:10, 11 December 2009 by Jglick (Talk | contribs)


Hg Bugs/Problems

Jesse's issue list

P1: fix is critical for migration to succeed

The server should reject bad merges. Hg RFE #1038

Hg does not let you do a clone of part of the repo, or check out part of a full repo. Hg RFE #105 Hg RFE #515

P2: fix will likely be wanted for continued usage

Hg increases storage whenever you move files. Hg bug #883

Keeping binaries in the repository would mean a noticeable increase in repo size after every update to a new version of a third-party library. Currently working around; details: ExternalBinaries. But it would be much preferable to be able to logically keep binaries in the repository yet avoid pulling them until they are really needed: TrimmingHistory

There is no simple way to see what a merge changeset changed beyond what a "simple" automated merge would have done. Hg RFE #981

Frequent failures to push over HTTPS on Windows. Hg bug #1003

Merging a case rename on Windows can cause file deletion. as yet unfiled

Transplant seems to fail on Windows. Hg bug #1077

hg clean does not work correctly on Mac OS X. Hg bug #1097

There is no command to back out a bad merge. Hg RFE #1010

hg import does not work for some people. Hg bug #961

No extension in standard distro with "shelve" functionality. hgattic seems to work well, but few developers are going to download and enable a third-party extension.

hg revert -r ... on an uncommitted merge should issue a very strict warning. (The warning should explain to use hg up -C to start over.) Run by an inexperienced user, it can result in other changesets being "silently" backed out. as yet unfiled

P3: should be fixed as time permits

When using inotify, newly created build products appear as ? (unknown) until you touch .hgignore. Hg bug #884

The Windows setup wizard should offer to enable CRLF translation. Hg RFE #923

Semantics of .hgignore w.r.t. directories is unclear. Hg bug #886 Various other .hgignore problems have been encountered, including Hg bug #951 (now fixed in dev)

There is no simple way to see the patch that would result from all outgoing changesets. Hg RFE #28 and also relates to Hg RFE #219

Tagging a server repository (with no checkout) is unnecessarily complicated. Hg bug #916

You are not stopped from transplanting the same changeset twice in different clones. Hg bug #1210

Hg will try to delete an empty dir during update, even if that is your CWD, which can result in odd errors. as yet unfiled

kdiff3 does not work out of the box. Hg bug #1118

If you forget to add new files, neither hg ci nor hg fetch will warn you. Hg bug #1318

The parents log keyword requires --debug for full output. Hg bug #1435

hg transplant -s $repo $rev failed to import http://hg.netbeans.org/jet-main/rev/d1f97dcec7ca into core-main; complained that the revision could not be found. hg in -r $rev $repo worked fine. as yet unfiled

strace hg di -r release65_base o.n.bootstrap/src/org/netbeans/TopSecurityManager.java shows every file in the checkout being stat'd, for no apparent reason. as yet unfiled

hg bisect does not work well with merges. E.g. run

hg bisect -b de345c4fe13f
hg bisect -g be85c2e1048d

and then mark any revision good if it contains nbbuild/test/unit/src/org/netbeans/nbbuild/data/Category.png and you wind up with c429f829c9f3 being blamed, though this is not a descendant of the good revision. as yet unfiled

Incorrect merge of file deletion & resurrection. Hg bug #1740 (Probably also cause of: merging produced a spurious conflict (remote changed, local deleted) for main #8041de5d29cd. Something involving repeated merges of a backout.)

hg heads --active shows heads on closed branches. Hg bug #1893

hg ann nbbuild/build.xml fails. Hg bug #1924

P4: nice to have

You can download unversioned archives of a snapshot of sources from the web interface, but you cannot download the repository (in the preferred "bundle" format ~ *.hg). Hg RFE #713

No equivalent to INotify is available for Windows users.

Per-repository configuration such as username is not copied during local clone. Hg RFE #918

Performance of hg convert is poor when you want to HgHowTos#TransferAModuleSHistoryToAnotherRepository. Hg RFE #991

diff --reverse does not seem to work. as yet unfiled

hg ci visualweb.* fails if just some, but not all, visualweb.* modules are modified. Hg bug #1925

If you update a dirty checkout and .hgignore changes as a result, it is possible for previously ignored files (e.g. build products from a renamed module) to become no longer ignored, yet there is no warning that this has happened or that it might be safe to delete these files. as yet unfiled

Resolved: already fixed in development versions of Hg, or no longer relevant to NB

CRLF autodetection of binary files changed unpleasantly in Hg 1.0. Hg bug #1066 (fixed in dev)

hg fetch can silently include your password in a commit message. Hg bug #909 Prevented using push hook. (fixed in 1.0)

While you can translate LF <-> CRLF on the client, there is no standard server hook to prevent line ending accidents. Hg RFE #882 (The associated patch can be used without being accepted into Hg proper.) Fixed in Hg 1.0 and installed as push hook on server.

Merging in the presence of named branches can be confusing. Hg bug #756 We will not use named branches for now.

Some operations are unnecessarily slow on Windows. Hg bug #952 (fixed in 1.0)

Reverting a single file in NB can be slow. Hg bug #857 (fixed in 1.0)

The exit code of hg push is unreliable. Hg bug #989 (fixed in 1.0)

Specific error messages from server pre-push hooks are not displayed to an HTTPS client. Hg bug #937 (fixed in 1.0, patch applied to live server)

The order of merge parents for hg fetch is often misleading. Hg RFE #1011 (fixed in 1.0)

Merge restores deleted files if you had locally deleted them but did not commit the delete. Hg bug #988 (fixed in 1.0, working around with server hook to prevent damage from being propagated)

Hg does not prevent you from committing only some files from a merge. Hg bug #1049 (fixed in 1.0)

INotify extension is not bundled in the standard distro. Hg RFE #809 (in 1.0, still discouraged for use)

Diffing some files can be slower in Hg 1.0 than in 0.9.5. Hg bug #1090 (fixed in dev)

Renaming SubSet.java to Subset.java might cause an error for a Windows user trying to update sources. Hg bug #750 (fixed in dev) There are other potential problems with case collisions on Windows. Hg bug #593 (fixed in 1.1)

Misleading display of execute permissions. Hg bug #1042 fixed in 1.0 or 1.0.1

Long source filenames can become even longer in the repository: Hg bug #839. Worked around by preventing store paths > 206 chars from being pushed. (fixed in 1.1)

Don't accidentally name a package beginning with con rather than com or the repo may be corrupted for Windows users: Hg bug #793 (fixed in 1.1)

Git-mode diffs (better to look at renames) are not supported in the web interface. Hg bug #1258 (fixed in 1.1)

The INotify extension breaks pulling from a bundle. Hg bug #1436 (fixed in 1.1.1)

hg help templates to get immediate help on template keywords and filters. Hg RFE #1486 (being fixed in dev)

Should not be necessary to use a "gatekeeper" just to prevent clients from pulling changesets about to be rejected by server hooks. Hg bug #1321 (fixed in 1.2)

Client certificates are not supported for HTTPS authentication. Hg RFE #643 (supposedly fixed in dev)

Pulling over HTTP can occasionally abort if a complex push is in progress. Hg bug #1320 (fixed in 1.1)

hg fetch is much slower in 1.3. Hg bug #1752 (fixed in dev)

hg verify is reporting some issues in the NB main repository in cnd.repository and etl.project (no known problems resulting from these). Seems to get corrected by HgBug47098e67a01d scripts.


Some operations, especially hg clone -r, fail to use hardlinks aggressively enough; this can result in unnecessarily large repository storage when using multiple repositories. Hg RFE #919 (new relink extension in dev)

You cannot reliably ignore whitespace changes in diffs, e.g. wrapping code in a block. Hg bug #127 (fixed in dev)

Slow performance claimed on Windows when using filters. Hg bug #1384 no longer reproducible

hg fetch merges incorrectly when using the inotify extension. Hg bug #921 no longer reproducible

Diff hangs on certain patches involving renames. Hg bug #1947 (fixed in dev)

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo