PageRenderTime 648ms queryTime 46ms sortTime 23ms getByIdsTime 501ms findMatchingLines 16ms

100+ results results for 'mercurial' (648 ms)

Not the results you expected?
ImportDiffAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 247 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.diff;
                    
45
                    
51
                    
52import org.netbeans.modules.mercurial.HgException;
                    
53import org.netbeans.modules.mercurial.HgProgressSupport;
                    
53import org.netbeans.modules.mercurial.HgProgressSupport;
                    
54import org.netbeans.modules.mercurial.Mercurial;
                    
55import org.netbeans.modules.mercurial.OutputLogger;
                    
56import org.netbeans.modules.mercurial.HgModuleConfig;
                    
57import org.netbeans.modules.mercurial.util.HgUtils;
                    
58import org.netbeans.modules.mercurial.util.HgCommand;
                    
58import org.netbeans.modules.mercurial.util.HgCommand;
                    
59import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
60import org.openide.util.NbBundle;
                    
                
2017-09-11-comparing-confusing-terms-in-github-bitbucket-and-gitlab.html.md https://gitlab.com/nick.volynkin/www-gitlab-com | Markdown | 116 lines
                    
14They might contribute to a community project on GitHub, while working on one
                    
15client's on premises GitLab instance and another client's project in Mercurial
                    
16on Bitbucket.
                    
                
index.html https://github.com/indygreg/indygreg.github.com.git | HTML | 205 lines
                    
21  <title>Gregory Szorc's Digital Home
                    
22  | Using Mercurial for Status Reports
                    
23</title>
                    
55  <a name="using-mercurial-for-status-reports"></a>
                    
56  <h2 class="blog_post_title"><a href="/blog/2014/04/01/using-mercurial-for-status-reports" rel="bookmark" title="Permanent Link to Using Mercurial for Status Reports">Using Mercurial for Status Reports</a></h2>
                    
57  <small>April 01, 2014 at 12:30 PM | categories: 
                    
58
                    
59<a href='/blog/category/mercurial'>Mercurial</a>, <a href='/blog/category/mozilla'>Mozilla</a>
                    
60</small><p/>
                    
62    
                    
63  <p>Mercurial has a pair of amazing features called
                    
64<a href="http://www.selenic.com/hg/help/revsets">Revisions Sets</a>
                    
153                <li><a href="/blog/category/javascript">JavaScript</a></li>
                    
154                <li><a href="/blog/category/mercurial">Mercurial</a></li>
                    
155                <li><a href="/blog/category/mozreview">MozReview</a></li>
                    
                
SearchCriteriaPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 283 lines
                    
44
                    
45package org.netbeans.modules.mercurial.ui.log;
                    
46
                    
46
                    
47import org.netbeans.modules.mercurial.HgModuleConfig;
                    
48import org.openide.util.NbBundle;
                    
168        fromLabel.setLabelFor(tfFrom);
                    
169        java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/modules/mercurial/ui/log/Bundle"); // NOI18N
                    
170        org.openide.awt.Mnemonics.setLocalizedText(fromLabel, bundle.getString("CTL_UseFrom")); // NOI18N
                    
                
buildbot.steps.source-module.html https://github.com/buildbot/bbdocs.git | HTML | 253 lines
                    
159    </td><td class="summary">
                    
160        <a href="buildbot.steps.source.Mercurial-class.html" class="summary-name">Mercurial</a><br />
                    
161      Check out a source tree from a mercurial repository 'repourl'.
                    
                
ClonePanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 244 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.clone;
                    
45
                    
                
CloneDestinationDirectoryPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 285 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.wizards;
                    
45
                    
52import javax.swing.filechooser.FileFilter;
                    
53import org.netbeans.modules.mercurial.HgModuleConfig;
                    
54import org.netbeans.modules.versioning.util.AccessibleJFileChooser;
                    
                
intel_txt.rst https://github.com/tiwai/sound.git | ReStructuredText | 227 lines
                    
50It is hosted on SourceForge at http://sourceforge.net/projects/tboot.
                    
51The mercurial source repo is available at http://www.bughost.org/
                    
52repos.hg/tboot.hg.
                    
                
Bundle.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 113 lines
                    
64MSG_PULL_TO =   INFO To:        {0} - {1}
                    
65MSG_PULL_TITLE =     Mercurial Pull
                    
66MSG_PULL_TITLE_SEP = --------------
                    
67# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
68MSG_PULL_DONE = INFO: End of Mercurial Pull
                    
69# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
71
                    
72MSG_NO_DEFAULT_PULL_SET = No default Pull path set for this project.\n\nPlease set a default Pull path using Mercurial > Properties.
                    
73MSG_NO_DEFAULT_PULL_SET_MSG = No default Pull path set for this project.\nPlease set a default Pull path using Mercurial > Properties.
                    
73MSG_NO_DEFAULT_PULL_SET_MSG = No default Pull path set for this project.\nPlease set a default Pull path using Mercurial > Properties.
                    
74MSG_DEFAULT_PULL_INVALID = Default Pull path set for this project\n     ({0})\nis not a valid URL for Mercurial.\nPlease set a valid Pull path using Mercurial > Properties.
                    
75MSG_PULL_MERGE_CONFIRM_TITLE = Confirm Merge after Pull
                    
99
                    
100MSG_FETCH_TITLE = Mercurial Fetch
                    
101MSG_FETCH_TITLE_SEP = ---------------
                    
                
Dockerfile https://gitlab.com/apachipa/docker-1 | Dockerfile | 263 lines
                    
62	libtool \
                    
63	mercurial \
                    
64	net-tools \
                    
                
index.md https://gitlab.com/tnir/gitlab-runner | Markdown | 307 lines
                    
13```shell
                    
14sudo apt-get install -y mercurial git-core wget make build-essential
                    
15wget https://storage.googleapis.com/golang/go1.17.7.linux-amd64.tar.gz
                    
21```shell
                    
22sudo yum install mercurial wget make
                    
23sudo yum groupinstall 'Development Tools'
                    
46```shell
                    
47pkg install go-1.17.7 gmake git mercurial
                    
48```
                    
                
GRN-014.html https://gitlab.com/franzejr/grn-static | HTML | 398 lines
                    
39<tr><td colspan="2" class="comment">
                    
40with Martin Geisler about Mercurial (compared to Git).
                    
41</td></tr>
                    
                
test-hg-hg-git.sh https://gitlab.com/nmusco/git | Shell | 542 lines
                    
19
                    
20if ! python -c 'import mercurial'
                    
21then
                    
21then
                    
22	skip_all='skipping remote-hg tests; mercurial not available'
                    
23	test_done
                    
                
Bundle.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 101 lines
                    
46MSG_MERGE_PROGRESS = Merging...
                    
47MSG_MERGE_TITLE =     Mercurial Merge
                    
48MSG_MERGE_TITLE_SEP = ---------------
                    
50MSG_MERGE_NOT_SUPPORTED_INVIEW_INFO = INFO: Merge is not supported in this View
                    
51MSG_MERGE_NOT_SUPPORTED_INVIEW_TITLE = Mercurial Merge
                    
52MSG_MERGE_NOT_SUPPORTED_INVIEW = Merge is not supported in this View
                    
57MSG_MERGE_INFO = \nINFO MERGE: How to setup Merge Support
                    
58MSG_MERGE_INFO_URL = http://www.selenic.com/mercurial/wiki/index.cgi/MergeProgram
                    
59MSG_MERGE_UNCOMMITTED = There are uncommitted changes.\n\nPlease commit them before doing another merge.
                    
                
redmine.rb https://github.com/ginkel/redmine.git | Ruby | 233 lines
                    
29Redmine::Scm::Base.add "Darcs"
                    
30Redmine::Scm::Base.add "Mercurial"
                    
31Redmine::Scm::Base.add "Cvs"
                    
                
tohtml.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 378 lines
                    
9"
                    
10"	      See Mercurial change logs for more!
                    
11
                    
                
about.html https://bitbucket.org/ruyman/ruyman.bitbucket.org.git | HTML | 120 lines
                    
73          href="https://bitbucket.org/kuy/thg-web/issues/">issue tracker</a>.
                    
74        All the source files (without Bitbucket and Mercurial logos) are
                    
75        licensed under the terms of the <a
                    
107                <a href="http://www.bitbucket.org/"><img src="img/bitbucket-icon.png" alt="bitbucket" /></a>
                    
108                <a href="http://mercurial.selenic.com/"><img src="img/mercurial-icon.png" alt="Mercurial" /></a>
                    
109                <a href="http://www.openacc.org/"><img src="img/openacc.png" alt="OpenACC.org" /></a>
                    
                
clink.lua https://gitlab.com/MarcuSacramento/ferramentas | Lua | 257 lines
                    
126 -- Find out current branch
                    
127 -- @return {false|mercurial branch name}
                    
128---
                    
152
                    
153    -- Colors for mercurial status
                    
154    local colors = {
                    
159    if get_hg_dir() then
                    
160        -- if we're inside of mercurial repo then try to detect current branch
                    
161        local branch = get_hg_branch()
                    
162        if branch then
                    
163            -- Has branch => therefore it is a mercurial folder, now figure out status
                    
164            if get_hg_status() then
                    
174
                    
175    -- No mercurial present or not in mercurial file
                    
176    clink.prompt.value = string.gsub(clink.prompt.value, "{hg}", "")
                    
                
buildsystem.md https://gitlab.com/b_perraudin_catie/yotta | Markdown | 275 lines
                    
61
                    
62If yotta finds a mercurial or git repository in the module or application being
                    
63built, then the following will also be defined in this header:
                    
65```C
                    
66#define YOTTA_BUILD_VCS_ID 0123456789abcdef // git or mercurial hash, variable length up to 40 characters
                    
67#define YOTTA_BUILD_VCS_CLEAN 1             // 1 if there were no uncommitted changes, else 0
                    
67#define YOTTA_BUILD_VCS_CLEAN 1             // 1 if there were no uncommitted changes, else 0
                    
68#define YOTTA_BUILD_VCS_DESCRIPTION v0.5-57-gad36348 // git describe or mercurial equivalent
                    
69```
                    
                
Rakefile https://gitlab.com/gitnyasha/zimcreative | Rakefile | 217 lines
                    
41# Set up Hoe plugins
                    
42Hoe.plugin :mercurial
                    
43Hoe.plugin :signing
                    
155file '.hg/branch' do
                    
156	warn "WARNING: You need the Mercurial repo to update the ChangeLog"
                    
157end
                    
162		begin
                    
163			include Hoe::MercurialHelpers
                    
164			content = make_changelog()
                    
165		rescue NameError
                    
166			abort "Packaging tasks require the hoe-mercurial plugin (gem install hoe-mercurial)"
                    
167		end
                    
                
mercurial.py https://gitlab.com/murder187ss/buildbot | Python | 387 lines
                    
15"""
                    
16Source step code for mercurial
                    
17"""
                    
29
                    
30class Mercurial(Source):
                    
31
                    
31
                    
32    """ Class for Mercurial with all the smarts """
                    
33    name = "hg"
                    
43        @type  repourl: string
                    
44        @param repourl: the URL which points at the Mercurial repository.
                    
45                        if 'dirname' branches are enabled, this is the base URL
                    
60                           the branch name should be appended to the C{repourl}
                    
61                           or the branch is a mercurial named branch and can be
                    
62                           found within the C{repourl}
                    
                
HistoryRegistry.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 324 lines
                    
41 */
                    
42package org.netbeans.modules.mercurial;
                    
43
                    
53import java.util.logging.Logger;
                    
54import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
55import org.netbeans.modules.mercurial.ui.log.HgLogMessageChangedPath;
                    
55import org.netbeans.modules.mercurial.ui.log.HgLogMessageChangedPath;
                    
56import org.netbeans.modules.mercurial.util.HgCommand;
                    
57import org.netbeans.modules.mercurial.util.HgUtils;
                    
68
                    
69    private static final Logger LOG = Logger.getLogger("org.netbeans.modules.mercurial.HistoryRegistry"); // NOI18N
                    
70    // package private for test purposes
                    
141                };
                    
142                support.start(Mercurial.getInstance().getRequestProcessor(repository)).waitFinished();
                    
143            }
                    
                
branch.vim https://github.com/thomasritz/dotfiles.git | Vim Script | 349 lines
                    
28\  },
                    
29\  'mercurial': {
                    
30\    'exe': 'hg',
                    
162    endif
                    
163    let s:vcs_config['mercurial'].branch = stl
                    
164  else
                    
164  else
                    
165    let s:vcs_config['mercurial'].branch = ''
                    
166  endif
                    
169function! s:display_hg_branch()
                    
170  return b:buffer_vcs_config['mercurial'].branch
                    
171endfunction
                    
219      continue
                    
220    elseif vcs is# 'mercurial' && !airline#util#has_lawrencium()
                    
221      continue
                    
                
forms.py https://github.com/clach04/reviewboard.git | Python | 334 lines
                    
108                    "This is usually used for distributed revision control "
                    
109                    "systems (Git, Mercurial, etc.)."),
                    
110        widget=forms.FileInput(attrs={'size': '62'}))
                    
                
tag-release.py https://gitlab.com/astian/build-tools | Python | 278 lines
                    
14from util.commands import run_cmd, get_output
                    
15from util.hg import mercurial, apply_and_push, update, get_revision, \
                    
16    make_hg_url, out, BRANCH, get_branches, cleanOutgoingRevs
                    
67    remote = make_hg_url(HG, repo)
                    
68    mercurial(remote, reponame)
                    
69
                    
129    remote = make_hg_url(HG, repo)
                    
130    mercurial(remote, reponame)
                    
131
                    
229    options, args = parser.parse_args()
                    
230    mercurial(options.buildbot_configs, 'buildbot-configs')
                    
231    update('buildbot-configs', revision=options.release_tag)
                    
                
slides.tex https://github.com/regedor/Master-Thesis.git | LaTeX | 235 lines
                    
89                           &              &GIT            &                    &                         &                       \\
                    
90                           &              &Mercurial      &                    &                         &                       \\\hline
                    
91  \mr{1}{\textbf{GitHub}}           &\mr{1}{2008}  &GIT            &\mr{1}{505,000}     &\mr{1}{1,516,000}        &\mr{1}{742}            \\\hline
                    
92  \mr{2}{Google Code }     &\mr{2}{2006}  &SVN            &\mr{2}{?}           &\mr{2}{250,000}          &\mr{2}{900}            \\
                    
93                           &              &Mercurial      &                    &                         &                       \\\hline
                    
94  \mr{3}{Code Plex}        &\mr{3}{2006}  &SVN            &\mr{3}{151,782}     &\mr{3}{15.955}           &\mr{3}{2,343}          \\
                    
95                           &              &Microsoft TFS  &                    &                         &                       \\
                    
96                           &              &Mercurial      &                    &                         &                       \\\hline
                    
97  \mr{2}{Assembla}         &\mr{2}{2006}  &SVN            &\mr{2}{180,000}     &\mr{2}{60,000}           &\mr{2}{6,628}          \\
                    
102                           &              &GIT            &                    &                         &                       \\
                    
103                           &              &Mercurial      &                    &                         &                       \\\hline
                    
104  \mr{1}{Bitbucket}        &\mr{1}{2008}  &Mercurial      &\mr{1}{51,600}      &\mr{1}{27,769}           &\mr{1}{12,047}         \\\hline
                    
                
ExportDiffPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 143 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.diff;
                    
45
                    
49import org.openide.util.NbBundle;
                    
50import org.netbeans.modules.mercurial.HgModuleConfig;
                    
51import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
51import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
52import org.netbeans.modules.mercurial.ui.log.RepositoryRevision;
                    
53import org.netbeans.modules.mercurial.ui.repository.ChangesetPickerPanel;
                    
                
v0.2.0.md https://gitlab.com/kainy/semver.org | Markdown | 194 lines
                    
88This sub-specification SHOULD be used if you use a version control system
                    
89(Git, Mercurial, SVN, etc) to store your code. Using this system allows
                    
90automated tools to inspect your package and determine SemVer compliance and
                    
                
configure.py https://gitlab.com/pheinzlr/CodeVault | Python | 244 lines
                    
142        print '================================================================================='
                    
143        print '''** Unable to locate hg (Mercurial) to download BuildSystem; make sure hg is in your path'''
                    
144        print '''** or manually copy BuildSystem to $PETSC_DIR/python/BuildSystem from a machine where'''
                    
                
hooks.py https://gitlab.com/tomprince/flake8 | Python | 295 lines
                    
94def hg_hook(ui, repo, **kwargs):
                    
95    """This is the function executed directly by Mercurial as part of the
                    
96    hook. This is never called directly by the user, so the parameters are
                    
97    undocumented. If you would like to learn more about them, please feel free
                    
98    to read the official Mercurial documentation.
                    
99    """
                    
275        p = get_parser()[0]
                    
276        sys.stderr.write('Error: could not find either a git or mercurial '
                    
277                         'directory. Please re-run this in a proper '
                    
                
repository_mercurial_test.rb https://gitlab.com/ba0f3/redmine | Ruby | 295 lines
                    
19
                    
20class RepositoryMercurialTest < ActiveSupport::TestCase
                    
21  fixtures :projects
                    
23  # No '..' in the repository path
                    
24  REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository'
                    
25
                    
30    def setup
                    
31      klass = Repository::Mercurial
                    
32      assert_equal "Mercurial", klass.scm_name
                    
37      @project = Project.find(3)
                    
38      @repository = Repository::Mercurial.create(
                    
39                      :project => @project,
                    
76    def test_isodatesec
                    
77      # Template keyword 'isodatesec' supported in Mercurial 1.0 and higher
                    
78      if @repository.scm.class.client_version_above?([1, 0])
                    
                
templates.js https://github.com/runeh/dragonfly-stp-1.git | JavaScript | 623 lines
                    
21    }
                    
22    if( ini.revision_number.indexOf("$") != -1 && ini.mercurial_revision )
                    
23    {
                    
23    {
                    
24      ini.revision_number = ini.mercurial_revision;
                    
25    }
                    
                
CloseBranchAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 154 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.branch;
                    
45
                    
47import java.io.File;
                    
48import org.netbeans.modules.mercurial.HgException;
                    
49import org.netbeans.modules.mercurial.HgProgressSupport;
                    
49import org.netbeans.modules.mercurial.HgProgressSupport;
                    
50import org.netbeans.modules.mercurial.Mercurial;
                    
51import org.netbeans.modules.mercurial.util.HgUtils;
                    
52import org.netbeans.modules.versioning.spi.VCSContext;
                    
53import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
54import org.netbeans.modules.mercurial.ui.commit.CommitAction;
                    
69
                    
70@ActionID(id = "org.netbeans.modules.mercurial.ui.branch.CloseBranchAction", category = "Mercurial")
                    
71@ActionRegistration(displayName = "#CTL_MenuItem_CloseBranch")
                    
                
PushOtherAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 154 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.push;
                    
45
                    
48import javax.swing.event.ChangeListener;
                    
49import org.netbeans.modules.mercurial.ui.repository.HgURL;
                    
50import org.netbeans.modules.versioning.spi.VCSContext;
                    
56import org.netbeans.modules.mercurial.HgProgressSupport;
                    
57import org.netbeans.modules.mercurial.Mercurial;
                    
58import org.netbeans.modules.mercurial.ui.repository.Repository;
                    
59import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
60import org.netbeans.modules.mercurial.ui.wizards.CloneRepositoryWizardPanel;
                    
61import org.netbeans.modules.mercurial.util.HgProjectUtils;
                    
61import org.netbeans.modules.mercurial.util.HgProjectUtils;
                    
62import org.netbeans.modules.mercurial.util.HgUtils;
                    
63import org.openide.nodes.Node;
                    
                
graphlog.py https://bitbucket.org/lilydjwg/dotvim.git | Python | 248 lines
                    
4
                    
5# Mercurial's graphlog code -------------------------------------------------------
                    
6def asciiedges(seen, rev, parents):
                    
213
                    
214# Mercurial age function -----------------------------------------------------------
                    
215agescales = [("yr", 3600 * 24 * 365),
                    
                
reposman.rb https://github.com/ginkel/redmine.git | Ruby | 312 lines
                    
69Version = "1.3"
                    
70SUPPORTED_SCM = %w( Subversion Darcs Mercurial Bazaar Git Filesystem )
                    
71
                    
                
external_sources.rb https://bitbucket.org/aagraz/cocoapods.git | Ruby | 363 lines
                    
17                elsif params.key?(:svn)       then SvnSource
                    
18                elsif params.key?(:hg)        then MercurialSource
                    
19                elsif params.key?(:podspec)   then PodspecSource
                    
238
                    
239    # Provides support for fetching a specification file from a Mercurial
                    
240    # source remote.
                    
247    #
                    
248    class MercurialSource < AbstractExternalSource
                    
249
                    
                
app-service-choose-me-content.md https://gitlab.com/yeah568/azure-content | Markdown | 21 lines
                    
20
                    
21As the [figure](#appservice_diagram) above shows, you can publish code and other web content into Azure App Service in several ways. You can use FTP, FTPS, or Microsoft's WebDeploy technology. Azure App Service also supports publishing code from source control systems, including Git, GitHub, CodePlex, BitBucket, Dropbox, Mercurial, Team Foundation Server, and the cloud-based Team Foundation Service.
                    
22
                    
                
Bundle.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 154 lines
                    
56MSG_ROLLBACK_INFO = INFO  Rollback rolls back the last transaction in this repository and can only rollback one level.
                    
57MSG_ROLLBACK_TITLE =     Mercurial Rollback
                    
58MSG_ROLLBACK_TITLE_SEP = --------------------
                    
62# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
63MSG_ROLLBACK_DONE = INFO: End of Mercurial Rollback
                    
64MSG_ROLLBACK_CONFIRM = Confirm Rollback
                    
73
                    
74MSG_STRIP_TITLE =     Mercurial Strip
                    
75MSG_STRIP_TITLE_SEP = ---------------
                    
79# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
80MSG_LOCAL_CHANGES_STRIP = \nStrip will not work if there are local changes. You can view them using Mercurial -> Status.\nINFO: If you wish to discard local changes, use Mercurial -> Update selecting the Forced Update option and rerun Strip.
                    
81# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
99# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
100MSG_UNCOMMITTED_CHANGES_BACKOUT = \nBackout will not work if there are uncommitted local changes. You can view them using Mercurial -> Status.\nINFO: If you wish to discard these changes, use Mercurial -> Update selecting the Forced Update option and rerun Backout.
                    
101# Capitalized letters used intentionally to emphasize the words in an output window, should be translated
                    
                
which_scm.sh https://github.com/richlowe/illumos-gate.git | Shell | 131 lines
                    
35# within a tree (CVS and SVN).  The last type have a single control
                    
36# directory at the top of the tree (Teamware and Mercurial).
                    
37
                    
56	[ -d "$1/Codemgr_wsdata" ] && scmid="$scmid teamware"
                    
57	[ -d "$1/.hg" ] && scmid="$scmid mercurial"
                    
58	[ -d "$1/CVS" ] && scmid="$scmid cvs"
                    
101	if [[ "$SCM_TYPE" != "$CWD_TYPE" || "$SCM_TYPE" == git || \
                    
102	    "$SCM_TYPE" == mercurial || "$SCM_TYPE" == teamware ]]; then
                    
103		break
                    
                
redminehelper.py https://gitlab.com/ba0f3/redmine | Python | 222 lines
                    
1# redminehelper: Redmine helper extension for Mercurial
                    
2#
                    
48import re, time, cgi, urllib
                    
49from mercurial import cmdutil, commands, node, error, hg
                    
50
                    
54def _tip(ui, repo):
                    
55    # see mercurial/commands.py:tip
                    
56    def tiprev():
                    
58            return len(repo) - 1
                    
59        except TypeError:  # Mercurial < 1.1
                    
60            return repo.changelog.count() - 1
                    
67def _tags(ui, repo):
                    
68    # see mercurial/commands.py:tags
                    
69    for t, n in reversed(repo.tagslist()):
                    
79def _branches(ui, repo):
                    
80    # see mercurial/commands.py:branches
                    
81    def iterbranches():
                    
                
index.html https://github.com/indygreg/indygreg.github.com.git | HTML | 256 lines
                    
72Firefox repository. This sounded like a difficult problem at first,
                    
73especially considering the Mercurial repository doesn't contain CVS
                    
74history and this would be needed to identify code older than Mercurial
                    
77<a href="https://github.com/mozilla/mozilla-central/">Git repository</a> with full
                    
78history of mozilla-central, including CVS and Mercurial! Armed with a
                    
79clone of this repository, I wrote a quick shell <em>one-liner</em> to ascertain
                    
204                <li><a href="/blog/category/javascript">JavaScript</a></li>
                    
205                <li><a href="/blog/category/mercurial">Mercurial</a></li>
                    
206                <li><a href="/blog/category/mozreview">MozReview</a></li>
                    
                
HgKenaiAccessor.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 153 lines
                    
42
                    
43package org.netbeans.modules.mercurial.kenai;
                    
44
                    
                
index.html https://github.com/indygreg/indygreg.github.com.git | HTML | 262 lines
                    
58
                    
59<a href='/blog/category/mercurial'>Mercurial</a>, <a href='/blog/category/git'>Git</a>
                    
60</small><p/>
                    
138some settings for it to <em>just work</em>.</p>
                    
139<h2>Mercurial Does LFS Slightly Better</h2>
                    
140<p>Since I'm a maintainer of the Mercurial version control tool, I thought
                    
140<p>Since I'm a maintainer of the Mercurial version control tool, I thought
                    
141I'd throw out how Mercurial handles large file storage better than
                    
142Git. Mercurial's large file handling isn't great, but I believe it
                    
144file storage.</p>
                    
145<p>In Mercurial, use of LFS is a dynamic feature that server/repo operators
                    
146can choose to enable or disable whenever they want. When the Mercurial
                    
210                <li><a href="/blog/category/javascript">JavaScript</a></li>
                    
211                <li><a href="/blog/category/mercurial">Mercurial</a></li>
                    
212                <li><a href="/blog/category/mozreview">MozReview</a></li>
                    
                
Setup.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 297 lines
                    
44
                    
45package org.netbeans.modules.mercurial.ui.diff;
                    
46
                    
48import org.netbeans.api.diff.DiffController;
                    
49import org.netbeans.modules.mercurial.Mercurial;
                    
50import org.netbeans.modules.mercurial.FileInformation;
                    
56import java.text.MessageFormat;
                    
57import org.netbeans.modules.mercurial.FileStatus;
                    
58import org.netbeans.modules.mercurial.ui.log.HgLogMessage.HgRevision;
                    
129        this.propertyName = propertyName;
                    
130        info = Mercurial.getInstance().getFileStatusCache().getStatus(baseFile);
                    
131        int status = info.getStatus();
                    
213        secondSource = new DiffStreamSource(baseFile, secondRevision, secondTitle);
                    
214        title = "<html>" + Mercurial.getInstance().getMercurialAnnotator().annotateNameHtml(baseFile, info); // NOI18N
                    
215    }
                    
                
README-linux.md https://bitbucket.org/liflg/library-sdl2.git | Markdown | 90 lines
                    
17
                    
18sudo apt-get install build-essential mercurial make cmake autoconf automake \
                    
19libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev \
                    
                
index.html https://bitbucket.org/raffel/node-host.git | HTML | 183 lines
                    
42<ul>
                    
43<li>Mercurial </li>
                    
44<li>Python 2.5 or 2.6 </li>
                    
                
index.html https://github.com/indygreg/indygreg.github.com.git | HTML | 219 lines
                    
63  <p>A few weeks ago, some coworkers were complaining about the relative
                    
64performance of Mercurial cloning on Windows. I investigated on my
                    
65brand new i7-6700K Windows 10 desktop machine and sure enough they were
                    
98</ol>
                    
99<p>Armed with this knowledge, I dug into the guts of Mercurial and
                    
100proceeded to write a
                    
105clone and pull operations. While I intend to write a blog post with the
                    
106full details, <strong>cloning the Firefox repository with Mercurial 3.6 on
                    
107Windows is now several minutes faster.</strong> Pretty much all of this is due
                    
110<p>I also
                    
111<a href="https://selenic.com/pipermail/mercurial-devel/2015-September/073788.html">experimented</a>
                    
112with moving file close operations to a separate thread on Windows. While
                    
167                <li><a href="/blog/category/javascript">JavaScript</a></li>
                    
168                <li><a href="/blog/category/mercurial">Mercurial</a></li>
                    
169                <li><a href="/blog/category/mozreview">MozReview</a></li>
                    
                
hg.py https://gitlab.com/actawithamana/poky | Python | 270 lines
                    
3"""
                    
4BitBake 'Fetch' implementation for mercurial DRCS (hg).
                    
5
                    
39class Hg(FetchMethod):
                    
40    """Class to fetch from mercurial repositories"""
                    
41    def supports(self, ud, d):
                    
42        """
                    
43        Check to see if a given url can be fetched with mercurial.
                    
44        """
                    
76
                    
77        # Create paths to mercurial checkouts
                    
78        hgsrcname = '%s_%s_%s' % (ud.module.replace('/', '.'), \
                    
                
branch.vim https://gitlab.com/lokiexinferis/vim-configs | Vim Script | 403 lines
                    
34\  },
                    
35\  'mercurial': {
                    
36\    'exe': 'hg',
                    
133    endif
                    
134    let s:vcs_config['mercurial'].branch = stl
                    
135  else
                    
135  else
                    
136    let s:vcs_config['mercurial'].branch = ''
                    
137  endif
                    
292  let b:airline_head = ''
                    
293  let l:vcs_priority = get(g:, "airline#extensions#branch#vcs_priority", ["git", "mercurial"])
                    
294
                    
344  if !exists('b:airline_file_in_root')
                    
345    let root = get(b:, 'git_dir', get(b:, 'mercurial_dir', ''))
                    
346    let bufferpath = resolve(fnamemodify(expand('%'), ':p'))
                    
                
index.html https://github.com/indygreg/indygreg.github.com.git | HTML | 182 lines
                    
55  <a name="mercurial-3.4-released"></a>
                    
56  <h2 class="blog_post_title"><a href="/blog/2015/05/04/mercurial-3.4-released" rel="bookmark" title="Permanent Link to Mercurial 3.4 Released">Mercurial 3.4 Released</a></h2>
                    
57  <small>May 04, 2015 at 12:40 PM | categories: 
                    
58
                    
59<a href='/blog/category/mercurial'>Mercurial</a>, <a href='/blog/category/mozilla'>Mozilla</a>
                    
60</small><p/>
                    
62    
                    
63  <p>Mercurial 3.4 was released on May 1 (following Mercurial's time-based
                    
64schedule of releasing a new version every 3 months).</p>
                    
101and the
                    
102<a href="http://mercurial.selenic.com/wiki/WhatsNew#Mercurial_3.4_.282015-05-01.29">official release notes</a>.</p>
                    
103<p>3.4 was a significant release. There are compelling reasons to upgrade.
                    
130                <li><a href="/blog/category/javascript">JavaScript</a></li>
                    
131                <li><a href="/blog/category/mercurial">Mercurial</a></li>
                    
132                <li><a href="/blog/category/mozreview">MozReview</a></li>
                    
                
README.md https://github.com/josefnpat/IncogRepo.git | Markdown | 131 lines
                    
6----------------
                    
7* for people who don't want to use a big revision control system. (Git, Mercurial, SVN)
                    
8* for people who have a server with ssh access.
                    
                
platform.properties https://bitbucket.org/phyloviz/phyloviz-main.git | Properties File | 244 lines
                    
141    org.netbeans.modules.hudson.git,\
                    
142    org.netbeans.modules.hudson.mercurial,\
                    
143    org.netbeans.modules.hudson.subversion,\
                    
165    org.netbeans.modules.localtasks,\
                    
166    org.netbeans.modules.mercurial,\
                    
167    org.netbeans.modules.mylyn.util,\
                    
                
index.html https://github.com/charleso/charleso.github.com.git | HTML | 294 lines
                    
49
                    
50<a href='/category/dvcs'>dvcs</a>, <a href='/category/mercurial'>mercurial</a>, <a href='/category/git'>git</a>
                    
51 | <a href="http://blog.charleso.org/2009/08/git-vs-mercurial.html#disqus_thread">View Comments</a>
                    
63This post, in all fairness, should really be called "Why I switched from
                    
64Mercurial to Git". I actually quite like Mercurial and it was the original DVCS
                    
65that opened my eyes to a world beyond SVN. Upon first hearing about the
                    
71<br /><br />
                    
72Mercurial has so many good things going for it. The command line is clean and
                    
73simple, and for SVN escapees feels very much like home. It's written in Python,
                    
101100% refundable, no questions asked. I should hastily add that I've never
                    
102'lost' a commit and I'm certainly not trying to suggest that Mercurial is
                    
103unsafe. For me personally it's about that extra layer of comfort and freedom
                    
220    <li>
                    
221      <a href="/category/mercurial">mercurial&nbsp;(1)</a><!--a href="/category/mercurial/feed">rss</a-->
                    
222    </li>
                    
                
2011-10-28-update-nuget-docs-in-the-browser-with-github.aspx.markdown https://gitlab.com/Blueprint-Marketing/haacked.com | Markdown | 160 lines
                    
21
                    
22We used to host the source for the docs site in Mercurial (hg) on
                    
23[CodePlex.com](http://codeplex.com/ "CodePlex"). Under the old system,
                    
25
                    
261.  Install Mercurial (TortoiseHG for example) if you didn’t already
                    
27    have it.
                    
                
vcs1.rst https://github.com/FOSSEE/sdes-stscripts.git | ReStructuredText | 337 lines
                    
38
                    
39#. Install Mercurial.
                    
40
                    
179
                    
180{{{Show the slide 'Mercurial or hg'}}}
                    
181
                    
187Each of these tools have their own merits and demerits. In this tutorial we 
                    
188shall learn how to use mercurial or hg.
                    
189
                    
189
                    
190Mercurial or hg is:
                    
191
                    
205Each of these tools have their own merits and demerits. 
                    
206In this tutorial we shall learn how to use mercurial or hg.
                    
207=======
                    
                
source_import.rb https://gitlab.com/mayakarya/octokit.rb | Ruby | 161 lines
                    
13      #   @param repo [Integer, String, Hash, Repository] A GitHub repository.
                    
14      #   @param vcs [String] The originating VCS type. Can be one of "subversion", "git", "mercurial", or "tfvc".
                    
15      #   @param vcs_url [String] The URL of the originating repository.
                    
23      #   @param options [Hash]
                    
24      #   @param options [String] :vcs The originating VCS type. Can be one of "subversion", "git", "mercurial", or "tfvc".
                    
25      #   @option options [String] :vcs_username If authentication is required, the username to provide to vcs_url.
                    
                
resources.rst https://bitbucket.org/binhngq/lena-local.git | ReStructuredText | 126 lines
                    
25
                    
26Mercurial
                    
27*********
                    
34
                    
35The |ns3| project uses Mercurial as its source code management system.
                    
36Although you do not need to know much about Mercurial in order to complete
                    
36Although you do not need to know much about Mercurial in order to complete
                    
37this tutorial, we recommend becoming familiar with Mercurial and using it 
                    
38to access the source code.  Mercurial has a web site at 
                    
38to access the source code.  Mercurial has a web site at 
                    
39http://www.selenic.com/mercurial/,
                    
40from which you can get binary or source releases of this Software
                    
40from which you can get binary or source releases of this Software
                    
41Configuration Management (SCM) system.  Selenic (the developer of Mercurial)
                    
42also provides a tutorial at 
                    
                
AbstractHgTestCase.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 237 lines
                    
42
                    
43package org.netbeans.modules.mercurial;
                    
44
                    
57import org.netbeans.junit.NbTestCase;
                    
58import org.netbeans.modules.mercurial.util.HgCommand;
                    
59import org.openide.filesystems.FileObject;
                    
99        try {
                    
100            Mercurial.getInstance().asyncInit();
                    
101            for (int i = 0; i < 20; i++) {                
                    
123//        wc = new File(workDir, getName() + "_wc");        
                    
124        cache = Mercurial.getInstance().getFileStatusCache();
                    
125    }
                    
                
gundo.vim https://github.com/isa/vim-gundo.git | Vim Script | 434 lines
                    
5" License:     GPLv2+ -- look it up.
                    
6" Notes:       Much of this code was thiefed from Mercurial, and the rest was
                    
7"              heavily inspired by scratch.vim and histwin.vim.
                    
                
platform.properties https://github.com/apocas/botbeans.git | Properties File | 217 lines
                    
124    org.netbeans.modules.hudson.kenai,\
                    
125    org.netbeans.modules.hudson.mercurial,\
                    
126    org.netbeans.modules.hudson.subversion,\
                    
143    org.netbeans.modules.localhistory,\
                    
144    org.netbeans.modules.mercurial,\
                    
145    org.netbeans.modules.options.editor,\
                    
                
mercurial_adapter.rb https://bitbucket.org/sharjeelaslam/redmine-tivilon-dev.git | Ruby | 341 lines
                    
23    module Adapters
                    
24      class MercurialAdapter < AbstractAdapter
                    
25
                    
25
                    
26        # Mercurial executable name
                    
27        HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg"
                    
27        HG_BIN = Redmine::Configuration['scm_mercurial_command'] || "hg"
                    
28        HELPERS_DIR = File.dirname(__FILE__) + "/mercurial"
                    
29        HG_HELPER_EXT = "#{HELPERS_DIR}/redminehelper.py"
                    
188        # Iterates the revisions by using a template file that
                    
189        # makes Mercurial produce a xml output.
                    
190        def each_revision(path=nil, identifier_from=nil, identifier_to=nil, options={})
                    
200            begin
                    
201              # Mercurial < 1.5 does not support footer template for '</log>'
                    
202              parse_xml("#{output}</log>")['log']
                    
                
IncomingAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 86 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.log;
                    
45
                    
47import java.io.File;
                    
48import org.netbeans.modules.mercurial.util.HgUtils;
                    
49import org.openide.nodes.Node;
                    
52/**
                    
53 * Log action for mercurial:
                    
54 * hg log - show revision history of entire repository or files
                    
70    /**
                    
71     * Opens the Seach History panel to view Mercurial Incoming Changesets that will be sent on next Pull from remote repo
                    
72     * using: hg incoming - to get the data
                    
                
redmine.rb https://github.com/Filino/bettermeans.git | Ruby | 204 lines
                    
25
                    
26REDMINE_SUPPORTED_SCM = %w( Subversion Darcs Mercurial Cvs Bazaar Git Filesystem )
                    
27
                    
                
Scrambler.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 338 lines
                    
47
                    
48package org.netbeans.modules.mercurial.config;
                    
49
                    
                
index.html https://bitbucket.org/lalinsky/oxygene.sk.git | HTML | 339 lines
                    
101	<li>
                    
102		<a href="/2010/01/mercurial-part-1/">Mercurial, part 1</a>
                    
103		<span class="entry-meta">
                    
                
QDiffAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 121 lines
                    
41 */
                    
42package org.netbeans.modules.mercurial.ui.queues;
                    
43
                    
47import java.util.List;
                    
48import org.netbeans.modules.mercurial.HgException;
                    
49import org.netbeans.modules.mercurial.HgProgressSupport;
                    
49import org.netbeans.modules.mercurial.HgProgressSupport;
                    
50import org.netbeans.modules.mercurial.Mercurial;
                    
51import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
51import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
52import org.netbeans.modules.mercurial.ui.diff.DiffAction;
                    
53import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
68 */
                    
69@ActionID(id = "org.netbeans.modules.mercurial.ui.queues.QDiffAction", category = "Mercurial/Queues")
                    
70@ActionRegistration(displayName = "#CTL_MenuItem_QDiff")
                    
                
Update.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 119 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.update;
                    
45
                    
53import java.io.File;
                    
54import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
55
                    
                
RepositoryMaintenance.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 146 lines
                    
42
                    
43package org.netbeans.test.mercurial.utils;
                    
44
                    
                
Bundle.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 105 lines
                    
45CTL_PopupMenuItem_CreateTag = Create Tag...
                    
46MSG_CREATE_TITLE =     Mercurial Create Tag
                    
47MSG_CREATE_TITLE_SEP = ----------------
                    
100MSG_TagManagerPanel.removing.progressName=Deleting Tag {0}...
                    
101MSG_DELETE_TAG_TITLE =     Mercurial Remove Tag
                    
102MSG_DELETE_TAG_TITLE_SEP = ----------------
                    
                
HgChangeLogCommand.java https://github.com/intelchen/maven-scm.git | Java | 149 lines
                    
88        StringBuilder dateInterval = new StringBuilder();
                    
89        // TRICK: Mercurial 1.9.3 don't accept 1970-01-01
                    
90        dateInterval.append(
                    
                
brew.h.rb https://github.com/alkesh/homebrew.git | Ruby | 549 lines
                    
39#    EOS
                    
40    when 'mercurial', 'hg' then abort <<-EOS
                    
41Mercurial can be install thusly:
                    
42
                    
43    brew install pip && pip install mercurial
                    
44
                    
                
mercurial_adapter.rb https://github.com/andreacampi/redmine.git | Ruby | 205 lines
                    
22    module Adapters    
                    
23      class MercurialAdapter < AbstractAdapter
                    
24        
                    
24        
                    
25        # Mercurial executable name
                    
26        HG_BIN = "hg"
                    
26        HG_BIN = "hg"
                    
27        TEMPLATES_DIR = File.dirname(__FILE__) + "/mercurial"
                    
28        TEMPLATE_NAME = "hg-template"
                    
104        # Fetch the revisions by using a template file that 
                    
105        # makes Mercurial produce a xml output.
                    
106        def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})  
                    
                
Dockerfile https://gitlab.com/github-cloud-corporation/docker | Dockerfile | 251 lines
                    
57	libtool \
                    
58	mercurial \
                    
59	pkg-config \
                    
                
Dockerfile https://gitlab.com/baidao/gogs | Dockerfile | 29 lines
                    
12
                    
13RUN apt-get update && apt-get install --yes --force-yes curl git mercurial zip wget ca-certificates build-essential
                    
14RUN apt-get install -yq vim sudo
                    
                
PropertiesPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 223 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.options;
                    
45
                    
49import javax.swing.event.TableModelListener;
                    
50import org.netbeans.modules.mercurial.HgModuleConfig;
                    
51import org.netbeans.modules.mercurial.options.PropertiesTable;
                    
                
Config.in https://gitlab.com/ThinFoil/buildroot | Autoconf | 382 lines
                    
54config BR2_TARGET_UBOOT_CUSTOM_HG
                    
55	bool "Custom Mercurial repository"
                    
56
                    
81	help
                    
82	  Revision to use in the typical format used by Git/Mercurial/Subversion
                    
83	  E.G. a sha id, a tag, branch, ..
                    
                
CONTRIBUTING.md https://gitlab.com/unofficial-mirrors/openshift-origin | Markdown | 280 lines
                    
91Go has the ability to import remote packages via revision control systems with the `go get` command.  To ensure that you can retrieve any remote package, be sure to install the following rcs software to your system.
                    
92Currently the project only depends on `git` and `mercurial`.
                    
93
                    
94* [Install Git](http://git-scm.com/book/en/Getting-Started-Installing-Git)
                    
95* [Install Mercurial](http://mercurial.selenic.com/wiki/Download)
                    
96
                    
245
                    
246NOTE: If you have not installed mercurial, the above command will fail.  See [Revision Control Systems](#revision-control-systems) above.
                    
247
                    
                
UpdatePanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 95 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.update;
                    
45
                    
49import javax.swing.JPanel;
                    
50import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
51import org.netbeans.modules.mercurial.ui.repository.ChangesetPickerPanel;
                    
                
build.sh https://github.com/HyangZhao/NaCl-main.git | Shell | 304 lines
                    
14# * This script relies heavily on parameters defined in BuildParams
                    
15# * The basic convention is that the build name can be mapped onto a mercurial URL,
                    
16#   which is also used as the "branch" name.
                    
                
ProjectFilesystemDelegateFactory.java https://gitlab.com/smartether/buck | Java | 102 lines
                    
89
                    
90    // No Eden or Mercurial info available, use the default
                    
91    return new DefaultProjectFilesystemDelegate(root);
                    
                
development.md https://gitlab.com/github-cloud-corporation/kubernetes | Markdown | 268 lines
                    
86
                    
87Ensure that [mercurial](http://mercurial.selenic.com/wiki/Download) is
                    
88installed on your system. (some of godep's dependencies use the mercurial
                    
88installed on your system. (some of godep's dependencies use the mercurial
                    
89source control system). Use `apt-get install mercurial` or `yum install
                    
90mercurial` on Linux, or [brew.sh](http://brew.sh) on OS X, or download directly
                    
90mercurial` on Linux, or [brew.sh](http://brew.sh) on OS X, or download directly
                    
91from mercurial.
                    
92
                    
                
MergeRevisionsPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 109 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.merge;
                    
45
                    
46import java.util.Set;
                    
47import org.netbeans.modules.mercurial.OutputLogger;
                    
48import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
48import org.netbeans.modules.mercurial.ui.log.HgLogMessage;
                    
49import org.netbeans.modules.mercurial.ui.update.*;
                    
50import java.io.File;
                    
52import java.util.logging.Logger;
                    
53import org.netbeans.modules.mercurial.HgException;
                    
54import org.netbeans.modules.mercurial.ui.log.HgLogMessage.HgRevision;
                    
54import org.netbeans.modules.mercurial.ui.log.HgLogMessage.HgRevision;
                    
55import org.netbeans.modules.mercurial.ui.repository.ChangesetPickerPanel;
                    
56import org.netbeans.modules.mercurial.util.HgCommand;
                    
                
DiffAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 142 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.diff;
                    
45
                    
51import java.util.Set;
                    
52import org.netbeans.modules.mercurial.FileInformation;
                    
53import org.netbeans.modules.mercurial.FileStatus;
                    
54
                    
55import org.netbeans.modules.mercurial.Mercurial;
                    
56import org.netbeans.modules.mercurial.OutputLogger;
                    
56import org.netbeans.modules.mercurial.OutputLogger;
                    
57import org.netbeans.modules.mercurial.util.HgUtils;
                    
58import org.netbeans.modules.mercurial.ui.actions.ContextAction;
                    
98        if (bNotManaged) {
                    
99            OutputLogger logger = OutputLogger.getLogger(Mercurial.MERCURIAL_OUTPUT_TAB_TITLE);
                    
100            logger.outputInRed( NbBundle.getMessage(DiffAction.class,"MSG_DIFF_TITLE")); // NOI18N
                    
                
PropertiesTable.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 216 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.options;
                    
45
                    
60import org.netbeans.modules.versioning.util.TableSorter;
                    
61import org.netbeans.modules.mercurial.ui.properties.HgPropertiesNode;
                    
62import org.netbeans.modules.mercurial.options.PropertiesTableModel;
                    
                
HgProgressSupport.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 256 lines
                    
44
                    
45package org.netbeans.modules.mercurial;
                    
46
                    
58import org.netbeans.api.progress.ProgressHandleFactory;
                    
59import org.netbeans.modules.mercurial.ui.repository.HgURL;
                    
60import org.netbeans.modules.mercurial.util.HgUtils;
                    
173        }
                    
174        Mercurial.getInstance().clearRequestProcessor(repositoryRoot);
                    
175        finnishProgress();
                    
228                              : null;
                    
229            logger = Mercurial.getInstance().getLogger(loggerId);
                    
230        }
                    
244        HgUtils.logT9Y(msg);
                    
245        Mercurial.LOG.log(Level.FINE, msg); 
                    
246    }
                    
                
LogAction.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 189 lines
                    
43 */
                    
44package org.netbeans.modules.mercurial.ui.log;
                    
45
                    
52import java.util.Set;
                    
53import org.netbeans.modules.mercurial.FileStatus;
                    
54import org.netbeans.modules.mercurial.FileStatusCache;
                    
54import org.netbeans.modules.mercurial.FileStatusCache;
                    
55import org.netbeans.modules.mercurial.Mercurial;
                    
56import org.netbeans.modules.mercurial.WorkingCopyInfo;
                    
56import org.netbeans.modules.mercurial.WorkingCopyInfo;
                    
57import org.netbeans.modules.mercurial.ui.branch.HgBranch;
                    
58import org.netbeans.modules.mercurial.util.HgUtils;
                    
68/**
                    
69 * Log action for mercurial:
                    
70 * hg log - show revision history of entire repository or files
                    
                
Config.in https://gitlab.com/DynonAvionics/buildroot | Autoconf | 406 lines
                    
60config BR2_LINUX_KERNEL_CUSTOM_HG
                    
61	bool "Custom Mercurial repository"
                    
62	help
                    
63	  This option allows Buildroot to get the Linux kernel source
                    
64	  code from a Mercurial repository.
                    
65
                    
93	help
                    
94	  Revision to use in the typical format used by Git/Mercurial
                    
95	  E.G. a sha id, a tag, branch, ..
                    
                
textpos.sty https://bitbucket.org/preining/tex-live.git | TeX | 360 lines
                    
30%%
                    
31%% Mercurial ident: 67a1f060e5fa, 2012-11-13 15:31 +0000
                    
32%%
                    
                
source_control_test.rb https://github.com/thiyagarajan/cruisecontrol.rb.git | Ruby | 175 lines
                    
62
                    
63  def test_create_should_return_mercurial_adapter_if_asked_to_do_so
                    
64    in_sandbox do
                    
64    in_sandbox do
                    
65      SourceControl::Mercurial.expects(:new).with(:repository => "http://my_repo").returns(:foo)
                    
66      assert_equal :foo, SourceControl.create(:repository => "http://my_repo", :source_control => 'mercurial')
                    
69
                    
70  def test_create_should_return_mercurial_adapter_if_asked_to_do_so_in_abbreviated_way
                    
71    in_sandbox do
                    
71    in_sandbox do
                    
72      SourceControl::Mercurial.expects(:new).with(:repository => "http://my_repo").returns(:foo)
                    
73      assert_equal :foo, SourceControl.create(:repository => "http://my_repo", :source_control => 'hg')
                    
111
                    
112  def test_detect_should_identify_mercurial_repository_by_presence_of_dothg_directory
                    
113    in_sandbox do
                    
                
instructions.html https://gitlab.com/udarnick/google-api-java-client-samples | HTML | 103 lines
                    
38    <b>Prerequisites:</b> install <a href="http://java.com">Java 6</a>, <a
                    
39      href="http://mercurial.selenic.com/">Mercurial</a>, and <a
                    
40      href="http://maven.apache.org/download.html">Maven</a>. You may need to
                    
62    <b>Prerequisites:</b> install <a href="http://www.eclipse.org/downloads/">Eclipse</a>,
                    
63    the <a href="http://javaforge.com/project/HGE">Mercurial plugin</a>, and the
                    
64    <a href="http://m2eclipse.sonatype.org/installing-m2eclipse.html">Maven
                    
                
settings.yml https://gitlab.com/ba0f3/redmine | YAML | 198 lines
                    
84  - Darcs
                    
85  - Mercurial
                    
86  - Cvs
                    
                
mercurial.rb https://bitbucket.org/sharjeelaslam/redmine-tivilon-dev.git | Ruby | 159 lines
                    
17
                    
18require 'redmine/scm/adapters/mercurial_adapter'
                    
19
                    
19
                    
20class Repository::Mercurial < Repository
                    
21  # sort changesets by revision number
                    
40  def self.scm_adapter_class
                    
41    Redmine::Scm::Adapters::MercurialAdapter
                    
42  end
                    
44  def self.scm_name
                    
45    'Mercurial'
                    
46  end
                    
59
                    
60  # Returns the readable identifier for the given mercurial changeset
                    
61  def self.format_changeset_identifier(changeset)
                    
                
HgExe.java https://github.com/davidmc24/mercurial-plugin.git | Java | 237 lines
                    
23 */
                    
24package hudson.plugins.mercurial;
                    
25
                    
69
                    
70    public HgExe(MercurialSCM scm, Launcher launcher, AbstractBuild build, TaskListener listener, EnvVars env) throws IOException, InterruptedException {
                    
71        this(scm,launcher,build.getBuiltOn(),listener,env);
                    
73
                    
74    public HgExe(MercurialSCM scm, Launcher launcher, Node node, TaskListener listener, EnvVars env) throws IOException, InterruptedException {
                    
75        base = scm.findHgExe(node, listener, true);
                    
84        // set the default stdout
                    
85        return MercurialSCM.launch(launcher).cmds(args).stdout(listener).envs(env);
                    
86    }
                    
197        ByteArrayOutputStream rev = new ByteArrayOutputStream();
                    
198        if (MercurialSCM.joinWithPossibleTimeout(l(args).pwd(repository).stdout(rev), useTimeout, listener) == 0) {
                    
199            return rev.toString();
                    
                
petscdir.py https://gitlab.com/steinret/CodeVault | Python | 146 lines
                    
120    if os.path.exists(os.path.join(self.dir, '.hg')):
                    
121      self.logPrint('This is a Mercurial clone')
                    
122      self.isClone = 1
                    
                
base.py https://github.com/pombredanne/django-versions.git | Python | 121 lines
                    
3
                    
4from mercurial.cmdutil import walkchangerevs
                    
5from mercurial import context
                    
5from mercurial import context
                    
6from mercurial import error
                    
7from mercurial import hg
                    
7from mercurial import hg
                    
8from mercurial import match
                    
9from mercurial import node
                    
9from mercurial import node
                    
10from mercurial import ui
                    
11
                    
                
py-hgsubversion.mk https://bitbucket.org/rainlake/optware.git | Makefile | 278 lines
                    
29PY-HGSUBVERSION_MAINTAINER=NSLU2 Linux <nslu2-linux@yahoogroups.com>
                    
30PY-HGSUBVERSION_DESCRIPTION=hgsubversion is an extension for Mercurial that allows using Mercurial as a Subversion client.
                    
31PY-HGSUBVERSION_SECTION=misc
                    
33PY-HGSUBVERSION_DEPENDS=
                    
34PY25-HGSUBVERSION_DEPENDS=py25-mercurial, svn-py
                    
35PY26-HGSUBVERSION_DEPENDS=py26-mercurial, svn-py
                    
                
HgHookImpl.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 113 lines
                    
53/**
                    
54 * Mercurial hook implementation
                    
55 * @author Tomas Stupka
                    
                
CloneTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 171 lines
                    
41 */
                    
42package org.netbeans.test.mercurial.main.commit;
                    
43
                    
57import org.netbeans.junit.NbModuleSuite;
                    
58import org.netbeans.test.mercurial.utils.MessageHandler;
                    
59import org.netbeans.test.mercurial.utils.TestKit;
                    
122            nodeFile = new ProjectsTabOperator().getProjectRootNode(TestKit.PROJECT_NAME);
                    
123            nodeFile.performMenuActionNoBlock("Team|Mercurial|Clone -");
                    
124            ndo = new NbDialogOperator("Clone Repository");
                    
136            nodeFile = new ProjectsTabOperator().getProjectRootNode(TestKit.PROJECT_NAME);
                    
137            nodeFile.performMenuActionNoBlock("Team|Mercurial|Clone Other...");
                    
138            ndo = new NbDialogOperator("Clone External Repository");
                    
                
MercurialVCS.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 171 lines
                    
72        putProperty(PROP_DISPLAY_NAME, getDisplayName()); // NOI18N
                    
73        putProperty(PROP_MENU_LABEL, org.openide.util.NbBundle.getMessage(MercurialVCS.class, "CTL_Mercurial_MainMenu")); // NOI18N
                    
74        
                    
79    public static String getDisplayName() {
                    
80        return org.openide.util.NbBundle.getMessage(MercurialVCS.class, "CTL_Mercurial_DisplayName");
                    
81    }
                    
89    public VCSHistoryProvider getVCSHistoryProvider() {
                    
90        return Mercurial.getInstance().getMercurialHistoryProvider();
                    
91    }
                    
130    public VCSAnnotator getVCSAnnotator() {
                    
131        return Mercurial.getInstance().getMercurialAnnotator();
                    
132    }
                    
138    public VCSInterceptor getVCSInterceptor() {
                    
139        return Mercurial.getInstance().getMercurialInterceptor();
                    
140    }
                    
                
pkg-download.mk https://gitlab.com/cronmod-dev/buildroot | Makefile | 129 lines
                    
4# infrastructures. It is used to handle downloads from HTTP servers,
                    
5# FTP servers, Git repositories, Subversion repositories, Mercurial
                    
6# repositories, Bazaar repositories, and SCP servers.
                    
                
import_hp_dump.py https://bitbucket.org/michaelb/happypenguin-ng.git | Python | 384 lines
                    
79
                    
80    if has('mercurial'):
                    
81        return Link.MERCURIAL
                    
                
mercurial.py https://bitbucket.org/eddieh/meld.git | Python | 138 lines
                    
32    CMD = "hg"
                    
33    NAME = "Mercurial"
                    
34    VC_DIR = ".hg"
                    
35    PATCH_STRIP_NUM = 1
                    
36    # Mercurial diffs can be run in "git" mode
                    
37    PATCH_INDEX_RE = "^diff (?:-r \w+ |--git a/.* b/)(.*)$"
                    
129        for name, path in dirs:
                    
130            # mercurial does not operate on dirs, just files
                    
131            retdirs.append(_vc.Dir(path, name, _vc.STATE_NORMAL))
                    
                
ArchivableFilesFinderTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 295 lines
                    
201    {
                    
202        // Ensure that Mercurial is available for testing.
                    
203        if (!$this->isProcessAvailable('hg')) {
                    
203        if (!$this->isProcessAvailable('hg')) {
                    
204            return $this->markTestSkipped('Mercurial is not available.');
                    
205        }
                    
                
about_source_editor.html https://gitlab.com/essere.lab.public/qualitas.class-corpus | HTML | 176 lines
                    
72                file or revert those changes.</li>
                    
73            <li><b>SVN/Git/Mercurial/etc</b> If the file is under version control, this option appears. 
                    
74                The option opens a menu of relevant version control commands.</li>
                    
                
 

Source

Language