Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Matt Mackall
- Fri, 14 Aug 2015 00:37:47
Show More
hgext/largefiles/lfutil.py
0
+2
0
@@
-247,6
+247,8
b' def getstandinmatcher(repo, rmatcher=Non'
247
247
248
248
if rmatcher and not rmatcher . always ():
249
249
pats = [ os . path . join ( standindir , pat ) for pat in rmatcher . files ()]
250
if not pats :
251
pats = [ standindir ]
250
252
match = scmutil . match ( repo [ None ], pats , badfn = badfn )
251
253
# if pats is empty, it would incorrectly always match, so clear _always
252
254
match . _always = False
hgext/rebase.py
0
+6
0
@@
-1026,6
+1026,10
b' def clearrebased(ui, repo, state, skippe'
1026
1026
def pullrebase ( orig , ui , repo , * args , ** opts ):
1027
1027
'Call rebase after pull if the latter has been invoked with --rebase'
1028
1028
if opts . get ( 'rebase' ):
1029
wlock = lock = None
1030
try :
1031
wlock = repo . wlock ()
1032
lock = repo . lock ()
1029
1033
if opts . get ( 'update' ):
1030
1034
del opts [ 'update' ]
1031
1035
ui . debug ( '--update and --rebase are not compatible, ignoring '
@@
-1060,6
+1064,8
b' def pullrebase(orig, ui, repo, *args, **'
1060
1064
if bookmarks . update ( repo , [ movemarkfrom ], repo [ '.' ] . node ()):
1061
1065
ui . status ( _ ( "updating bookmark %s \n " )
1062
1066
% repo . _activebookmark )
1067
finally :
1068
release ( lock , wlock )
1063
1069
else :
1064
1070
if opts . get ( 'tool' ):
1065
1071
raise util . Abort ( _ ( '--tool can only be used with --rebase' ))
mercurial/commands.py
0
+5
-1
@@
-6475,12
+6475,14
b' def update(ui, repo, node=None, rev=None'
6475
6475
if rev is None or rev == '' :
6476
6476
rev = node
6477
6477
6478
wlock = repo . wlock ()
6479
try :
6478
6480
cmdutil . clearunfinished ( repo )
6479
6481
6480
6482
# with no argument, we also move the active bookmark, if any
6481
6483
rev , movemarkfrom = bookmarks . calculateupdate ( ui , repo , rev )
6482
6484
6483
# if we defined a bookmark, we have to remember the original bookmark name
6485
# if we defined a bookmark, we have to remember the original name
6484
6486
brev = rev
6485
6487
rev = scmutil . revsingle ( repo , rev , rev ) . rev ()
6486
6488
@@
-6520,6
+6522,8
b' def update(ui, repo, node=None, rev=None'
6520
6522
ui . status ( _ ( "(leaving bookmark %s ) \n " ) %
6521
6523
repo . _activebookmark )
6522
6524
bookmarks . deactivate ( repo )
6525
finally :
6526
wlock . release ()
6523
6527
6524
6528
return ret
6525
6529
mercurial/help/scripting.txt
0
+1
-1
@@
-56,7
+56,7
b' HGENCODING'
56
56
incorrectly (often by using "?" as a placeholder for invalid
57
57
characters in the current locale).
58
58
59
Explcitly setting this environment variable is a good practice to
59
Expli citly setting this environment variable is a good practice to
60
60
guarantee consistent results. "utf-8" is a good choice on UNIX-like
61
61
environments.
62
62
mercurial/hg.py
0
+1
-1
@@
-428,7
+428,7
b' def clone(ui, peeropts, source, dest=Non'
428
428
shareopts = shareopts or {}
429
429
sharepool = shareopts . get ( 'pool' )
430
430
sharenamemode = shareopts . get ( 'mode' )
431
if sharepool :
431
if sharepool and islocal ( dest ) :
432
432
sharepath = None
433
433
if sharenamemode == 'identity' :
434
434
# Resolve the name from the initial changeset in the remote
tests/test-blackbox.t
0
+1
-1
@@
-119,8
+119,8
b' extension and python hooks - use the eol'
119
119
$ echo '[hooks]' >> . hg / hgrc
120
120
$ echo 'update = echo hooked' >> . hg / hgrc
121
121
$ hg update
122
1 files updated , 0 files merged , 0 files removed , 0 files unresolved
122
123
hooked
123
1 files updated , 0 files merged , 0 files removed , 0 files unresolved
124
124
$ hg blackbox - l 5
125
125
1970 / 01 / 01 00 : 00 : 00 bob > update
126
126
1970 / 01 / 01 00 : 00 : 00 bob > writing . hg / cache / tags2 - visible with 0 tags
tests/test-clone.t
0
+12
0
@@
-1013,3
+1013,15
b' Request to clone a single branch is resp'
1013
1013
adding remote bookmark bookA
1014
1014
1015
1015
$ ls share - 1 anowc
1016
1017
Test that auto sharing doesn 't cause failure of "hg clone local remote"
1018
1019
$ cd $TESTTMP
1020
$ hg -R a id -r 0
1021
acb14030fe0a
1022
$ hg id -R remote -r 0
1023
abort: there is no Mercurial repository here (.hg not found)
1024
[255]
1025
$ hg --config share.pool=share -q clone -e "python \" $TESTDIR/dummyssh \" " a ssh://user@dummy/remote
1026
$ hg -R remote id -r 0
1027
acb14030fe0a
tests/test-histedit-fold.t
0
+4
0
@@
-505,4
+505,8
b' into the hook command.'
505
505
1 : 9599899 f62c0 a
506
506
0 : 79 b99e9c8e49 b
507
507
508
$ echo "foo" > amended . txt
509
$ hg add amended . txt
510
$ hg ci - q -- config extensions . largefiles = -- amend - I amended . txt
511
508
512
$ cd ..
tests/test-hook.t
0
+2
-2
@@
-223,8
+223,8
b' update hook'
223
223
$ echo "update = printenv.py update" >> .hg/hgrc
224
224
$ hg update
225
225
preupdate hook: HG_PARENT1=539e4b31b6dc
226
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
226
227
update hook: HG_ERROR=0 HG_PARENT1=539e4b31b6dc
227
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
228
228
229
229
pushkey hook
230
230
@@
-644,8
+644,8
b' final release (and dirstate flush).'
644
644
$ hg ci - ma
645
645
223 eafe2750c tip
646
646
$ hg up 0 -- config extensions . largefiles =
647
1 files updated , 0 files merged , 0 files removed , 0 files unresolved
647
648
cb9a9f314b8b
648
1 files updated , 0 files merged , 0 files removed , 0 files unresolved
649
649
650
650
make sure -- verbose ( and -- quiet /-- debug etc . ) are propagated to the local ui
651
651
that is passed to pre / post hooks
tests/test-lock-badness.t
0
0
-1
@@
-59,7
+59,6
b' One process waiting for another'
59
59
$ hg - R b up - q -- config hooks . pre - update = "python:`pwd`/hooks.py:sleephalf"
60
60
waiting for lock on working directory of b held by '*:*' ( glob )
61
61
got lock after ? seconds ( glob )
62
warning : ignoring unknown working parent d2ae7f538514 !
63
62
$ wait
64
63
$ cat stdout
65
64
adding b
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages