Bug 13242 - Option not to automatically add new files to VCS
Summary: Option not to automatically add new files to VCS
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 4.1
Hardware: Macintosh Mac OS
: Low enhancement
Target Milestone: master
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2013-07-14 21:51 UTC by Paul Johnson
Modified: 2013-07-15 18:14 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Paul Johnson 2013-07-14 21:51:38 UTC
Using XS 4.1.6, OS X 10.8.4

The default action when creating a file under source control is wrong. The flow should be create and then the user decides to add or not rather than automatically just adding the file to source control.
Comment 1 Marius Ungureanu 2013-07-15 11:19:10 UTC
Setting this as low priority. This has been the design from the beginning. This behavior could be overridden by an option. Will be added in the future.
Comment 2 Paul Johnson 2013-07-15 11:56:55 UTC
previous versions had this behaviour as default. is it really an enhancement or a slight regression?
Comment 3 Mikayla Hutchinson [MSFT] 2013-07-15 16:42:01 UTC
If the project is under source control, all files in the project should also be under source control. Do you have an example of why you might want a file in the project and not under source control?
Comment 4 Paul Johnson 2013-07-15 17:44:20 UTC
Best example/case I can think of is this. You have a project, you create a file and then decide it's not a good idea and decide to delete it. By automatically adding the file, you then have to remove from project and from the svn log.

VS doesn't add by default and the older version of XS didn't either.
Comment 5 Marius Ungureanu 2013-07-15 18:02:52 UTC
It doesn't get in the svn log, if you don't commit it.

Review changes lets you select which items get committed.

And earlier versions of subversion addins disn't automatically add items due to poor implementations of the subversion module. In future implementations the user experience with these functions will be improved.

Also, I don't see a reason to commit items you don't want to see in the index.

Will still be added as a feature within options.
Comment 6 Mikayla Hutchinson [MSFT] 2013-07-15 18:13:47 UTC
We don't need to add options, we need to make sure we have good defaults :)

As long as users have a way to un-add files before they commit, I don't see what the problem is here.