This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 160495 - Warn before creating job from project with local modifications
Summary: Warn before creating job from project with local modifications
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 19:03 UTC by Jesse Glick
Modified: 2012-06-14 16:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-03-17 19:03:44 UTC
The Create Job dialog already signals an error if you try to create a job from a project which is not hosted in a
supported VCS. It should also perhaps issue a warning in case the project is in VCS but has local modifications, since a
new user might not realize that these will not be reflected in the build unless and until committed.

Not sure offhand if there is a generic API to query the versioning subsystem whether the project is modified.
Comment 1 Jesse Glick 2009-04-03 16:49:38 UTC
For Hg, this could also mean that the project is unmodified but has outstanding unpushed changesets. So it gets tricky.