##// END OF EJS Templates
deprecate the rawcommit command
Matt Mackall -
r1657:dbb8bba4 default
parent child Browse files
Show More
@@ -454,11 +454,14 b' push <destination>::'
454 --remotecmd specify hg command to run on the remote side
454 --remotecmd specify hg command to run on the remote side
455
455
456 rawcommit [-p -d -u -F -m -l]::
456 rawcommit [-p -d -u -F -m -l]::
457 Lowlevel commit, for use in helper scripts.
457 Lowlevel commit, for use in helper scripts. (DEPRECATED)
458
458
459 This command is not intended to be used by normal users, as it is
459 This command is not intended to be used by normal users, as it is
460 primarily useful for importing from other SCMs.
460 primarily useful for importing from other SCMs.
461
461
462 This command is now deprecated and will be removed in a future
463 release, please use debugsetparents and commit instead.
464
462 recover::
465 recover::
463 Recover from an interrupted commit or pull.
466 Recover from an interrupted commit or pull.
464
467
@@ -1793,13 +1793,19 b' def push(ui, repo, dest="default-push", '
1793 return r
1793 return r
1794
1794
1795 def rawcommit(ui, repo, *flist, **rc):
1795 def rawcommit(ui, repo, *flist, **rc):
1796 """raw commit interface
1796 """raw commit interface (DEPRECATED)
1797
1797
1798 Lowlevel commit, for use in helper scripts.
1798 Lowlevel commit, for use in helper scripts.
1799
1799
1800 This command is not intended to be used by normal users, as it is
1800 This command is not intended to be used by normal users, as it is
1801 primarily useful for importing from other SCMs.
1801 primarily useful for importing from other SCMs.
1802
1803 This command is now deprecated and will be removed in a future
1804 release, please use debugsetparents and commit instead.
1802 """
1805 """
1806
1807 ui.warn(_("(the rawcommit command is deprecated)\n"))
1808
1803 message = rc['message']
1809 message = rc['message']
1804 if not message and rc['logfile']:
1810 if not message and rc['logfile']:
1805 try:
1811 try:
@@ -64,7 +64,7 b' list of commands (use "hg help -v" to sh'
64 paths show definition of symbolic path names
64 paths show definition of symbolic path names
65 pull pull changes from the specified source
65 pull pull changes from the specified source
66 push push changes to the specified destination
66 push push changes to the specified destination
67 rawcommit raw commit interface
67 rawcommit raw commit interface (DEPRECATED)
68 recover roll back an interrupted transaction
68 recover roll back an interrupted transaction
69 remove remove the specified files on the next commit
69 remove remove the specified files on the next commit
70 rename rename files; equivalent of copy + remove
70 rename rename files; equivalent of copy + remove
@@ -106,7 +106,7 b' list of commands (use "hg help -v" to sh'
106 paths show definition of symbolic path names
106 paths show definition of symbolic path names
107 pull pull changes from the specified source
107 pull pull changes from the specified source
108 push push changes to the specified destination
108 push push changes to the specified destination
109 rawcommit raw commit interface
109 rawcommit raw commit interface (DEPRECATED)
110 recover roll back an interrupted transaction
110 recover roll back an interrupted transaction
111 remove remove the specified files on the next commit
111 remove remove the specified files on the next commit
112 rename rename files; equivalent of copy + remove
112 rename rename files; equivalent of copy + remove
@@ -1,5 +1,6 b''
1 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
1 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
2 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
2 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
3 (the rawcommit command is deprecated)
3 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
4 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
4 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
5 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
5 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
6 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
@@ -9,6 +10,7 b' user: test'
9 date: Thu Jan 1 00:00:00 1970 +0000
10 date: Thu Jan 1 00:00:00 1970 +0000
10 summary: 2
11 summary: 2
11
12
13 (the rawcommit command is deprecated)
12 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
14 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
13 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
15 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
14 changeset: 3:142428fbbcc5
16 changeset: 3:142428fbbcc5
@@ -17,6 +19,7 b' user: test'
17 date: Thu Jan 1 00:00:00 1970 +0000
19 date: Thu Jan 1 00:00:00 1970 +0000
18 summary: 3
20 summary: 3
19
21
22 (the rawcommit command is deprecated)
20 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
23 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
21 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
24 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
22 changeset: 4:4d450f9aa680
25 changeset: 4:4d450f9aa680
@@ -25,6 +28,7 b' user: test'
25 date: Thu Jan 1 00:00:00 1970 +0000
28 date: Thu Jan 1 00:00:00 1970 +0000
26 summary: 4
29 summary: 4
27
30
31 (the rawcommit command is deprecated)
28 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
32 05f9e54f4c9b86b09099803d8b49a50edcb4eaab 644 a
29 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
33 54837d97f2932a8194e69745a280a2c11e61ff9c 644 b
30 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
34 3570202ceac2b52517df64ebd0a062cb0d8fe33a 644 c
@@ -33,6 +37,7 b' user: test'
33 date: Thu Jan 1 00:00:00 1970 +0000
37 date: Thu Jan 1 00:00:00 1970 +0000
34 summary: 4
38 summary: 4
35
39
40 (the rawcommit command is deprecated)
36 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
41 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
37 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
42 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
38 changeset: 6:b4b8b9afa8cc
43 changeset: 6:b4b8b9afa8cc
@@ -43,6 +48,7 b' user: test'
43 date: Thu Jan 1 00:00:00 1970 +0000
48 date: Thu Jan 1 00:00:00 1970 +0000
44 summary: 6
49 summary: 6
45
50
51 (the rawcommit command is deprecated)
46 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
52 d6e3c4976c13feb1728cd3ac851abaf7256a5c23 644 a
47 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
53 76d5e637cbec1bcc04a5a3fa4bcc7d13f6847c00 644 c
48 changeset: 7:f84d0b1b024e
54 changeset: 7:f84d0b1b024e
General Comments 0
You need to be logged in to leave comments. Login now