Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mercurial-path_pattern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-path_pattern
Commits
f75216aade90
Commit
f75216aade90
authored
9 years ago
by
Marcin Kasperski
Browse files
Options
Downloads
Patches
Plain Diff
readme, hgignore, warning tweaks
parent
afa2f312fc7b
Branches
branch/stable
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.hgignore
+11
-0
11 additions, 0 deletions
.hgignore
distrib-notes.txt
+14
-0
14 additions, 0 deletions
distrib-notes.txt
path_pattern.py
+1
-1
1 addition, 1 deletion
path_pattern.py
with
26 additions
and
1 deletion
.hgignore
0 → 100644
+
11
−
0
View file @
f75216aa
syntax: regexp
\.pyc$
\.pyo$
~$
^\.\#
^\.(project|pydevproject)$
^\.settings/
^build/
^dist/
\.egg-info/
This diff is collapsed.
Click to expand it.
distrib-notes.txt
0 → 100644
+
14
−
0
View file @
f75216aa
Distribution:
- check version in setup.py, and hg tag
- push to bitbucket
- publish to PyPi
python setup.py build dist upload
- maybe update mercurial wiki
- maybe announce on mercurial lists
This diff is collapsed.
Click to expand it.
path_pattern.py
+
1
−
1
View file @
f75216aa
...
...
@@ -194,7 +194,7 @@
"""
Process single config entry in [path_pattern] section
"""
match
=
self
.
_re_cfg_key
.
search
(
cfg_key
)
if
not
match
:
ui
.
warn
(
_
(
"
Invalid e
ntr
y in [path_pattern] section: %s. Expected <some-alias>.local or <some-alias>.remote
\n
"
%
cfg_key
))
ui
.
warn
(
_
(
"
Invalid
k
ey in [path_pattern] section: %s. Expected <some-alias>.local or <some-alias>.remote
\n
"
%
cfg_key
))
return
alias
,
side_name
=
match
.
group
(
1
),
match
.
group
(
2
)
if
alias
not
in
self
.
patterns
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment