Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3225878
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:23:25+00:00 2026-05-17T16:23:25+00:00

I have my GWT project set up with hg for version control, and want

  • 0

I have my GWT project set up with hg for version control, and want to exclude the generated files in the war/modulename folder entirely.

I would prefer not to have to use an –exclude switch with every command. Is there a preferences file I can use to regularly exclude the directory?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:23:26+00:00Added an answer on May 17, 2026 at 4:23 pm

    Use .hgignore file. Basically, you can create a .hgignore file in the directory or repo

    Please look at the following SO discussion. It answers most of what you need.

    • Mercurial: a few questions all related to .hgignore
    • Mercurial .hgignore for Visual Studio 2008 projects
    • Would like to create some defaults for my .hgignore files in TortoiseHG/Mercurial
    • http://www.selenic.com/mercurial/hgignore.5.html
    • https://www.mercurial-scm.org/wiki/.hgignore

    The two different syntax in .hgignore
    file are glob and regexp. The SO posts
    and link to Mercurial documentation
    should make that clear.

    A typical file can contain both types of syntax.

    # use glob syntax.
    syntax: glob
    
    *.elc
    *.pyc
    *~
    
    # switch to regexp syntax.
    syntax: regexp
    ^\.pc/
    

    As an example, the following ignores the files created during merge

    syntax:regexp
    
    \.orig$
    \.orig\..*$
    \.chg\..*$
    \.rej$
    \.conflict\~$
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a GWT project set up with multiple module files (they inherit a
I have a gwt project, and i want to do the unit test in
I have a gwt project that uses gwt-mosaic. Here is the error message I
I have a GWT project in which I need to manually specify currency, number
I have a basic GWT Maven project going. I added SmartGWT and started playing
In my project.gwt.xml file I have <script src=http://maps.google.com/maps?gwt=1&amp;file=api&amp;v=2&amp;sensor=false;key=MYKEY /> But, when I load my
I'm playing with a GWT/GAE project which will have three different pages, although it
I have produced a new Maven Project from gae-archetype-gwt from within IntelliJ, and everything
I have a GWT module with the X-GWT-Module-Base http://host:8080/foo/ and would like to call
Do you have any suggestions of graphing libraries to use with a GWT project?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.