hg add - forgetting to add files
Felix -
felix.1 at canids.net
Thu Jun 18 02:44:57 CDT 2009
you could always commit with 'hg ci -A'.
the downside is sometimes it will add files you didn't expect.
I generally do 'hg st' right before any commit,
and sometimes I do 'hg diff' too.
this works better if you keep your .hgignore updated,
so that normally you have zero '?' lines in hg status.
On Wed, Jun 17, 2009 at 7:32 PM, NWalters<nwalters at sprynet.com> wrote:
>
> Is there any safe practice to always add the new files that I've added.
> Why can't mercurial just detect new files on its own?
> I'm in fear that I will add a file and forget to do "hg add" on it - then it
> won't be protected.
>
> Thanks,
> Neal Walters
>
> --
> View this message in context: http://www.nabble.com/hg-add---forgetting-to-add-files-tp24085445p24085445.html
> Sent from the Mercurial mailing list archive at Nabble.com.
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
More information about the Mercurial
mailing list