This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
5 Replies Last post: Jan 29, 2013 2:47 PM by Elena Shaverdova  
remiz Newbie 4 posts since
Jan 11, 2013
Currently Being Moderated

Jan 28, 2013 6:08 PM

How I can commit new files to Mercurial repository?

The question is about the files copied from external sources.

For example in Netbeans I can synchronize local files with ones deployed on server.

And new files from the server can be simply committed to the repository.

But in phpstorm I can not find such an easy way. The only way I've found is to add "Unversioned Files" to VCS in the Changes View.

May be I'm missing something?

 

Windows 7, PhpStorm 5.0.4, TortoiseHg 2.6.2 (with Mercurial-2.4.2)

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Jan 28, 2013 6:46 PM in response to: remiz
Re: How I can commit new files to Mercurial repository?

But in phpstorm I can not find such an easy way. The only way I've found is to add "Unversioned Files" to VCS in the Changes View.

Isn't it the standard way of adding new files to Mercurial repository?

I'm not sure that do you mean by "I can synchronize local files with ones deployed on server. And new files from the server can be simply committed to the repository." Could you please clarify the workflow you need?

Kirill Likhodedov JetBrains 238 posts since
Jun 11, 2010
Currently Being Moderated
Jan 29, 2013 1:06 PM in response to: remiz
Re: How I can commit new files to Mercurial repository?

If you copy the files right in PhpStorm (for example, drag them from Explorer to PhpStorm's Project view, or if you execute a task from PhpStorm that produces these files (for example, synchronize with deployed version, or run a controller generator)), you will be prompted to add all these files. You even can tell the IDE to add files automatically without prompt (Settings | Confirmation | When files are created).

 

This however is not done if files are copied externally.

Elena Shaverdova JetBrains 170 posts since
Oct 13, 2010
Currently Being Moderated
Jan 29, 2013 3:35 PM in response to: remiz
Re: How I can commit new files to Mercurial repository?

There is an issue for this feature, feel free to vote and/or watch it.

More Like This

  • Retrieving data ...