Show More
@@ -70,7 +70,7 b' fn map_rev_error(rev: &str, err: CatRevE' | |||||
70 | )), |
|
70 | )), | |
71 | CatRevErrorKind::InvalidRevision => CommandErrorKind::Abort(Some( |
|
71 | CatRevErrorKind::InvalidRevision => CommandErrorKind::Abort(Some( | |
72 | utf8_to_local(&format!( |
|
72 | utf8_to_local(&format!( | |
73 | "abort: invalid revision identifier{}\n", |
|
73 | "abort: invalid revision identifier {}\n", | |
74 | rev |
|
74 | rev | |
75 | )) |
|
75 | )) | |
76 | .into(), |
|
76 | .into(), |
@@ -85,7 +85,7 b' fn map_rev_error(rev: &str, err: ListRev' | |||||
85 | ListRevTrackedFilesErrorKind::InvalidRevision => { |
|
85 | ListRevTrackedFilesErrorKind::InvalidRevision => { | |
86 | CommandErrorKind::Abort(Some( |
|
86 | CommandErrorKind::Abort(Some( | |
87 | utf8_to_local(&format!( |
|
87 | utf8_to_local(&format!( | |
88 | "abort: invalid revision identifier{}\n", |
|
88 | "abort: invalid revision identifier {}\n", | |
89 | rev |
|
89 | rev | |
90 | )) |
|
90 | )) | |
91 | .into(), |
|
91 | .into(), |
@@ -116,6 +116,26 b' Cat copied file should not display copy ' | |||||
116 | $ rhg cat -r 1 copy_of_original |
|
116 | $ rhg cat -r 1 copy_of_original | |
117 | original content |
|
117 | original content | |
118 |
|
118 | |||
|
119 | Specifying revisions by changeset ID | |||
|
120 | $ hg log | |||
|
121 | changeset: 1:41263439dc17 | |||
|
122 | tag: tip | |||
|
123 | user: test | |||
|
124 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
125 | summary: add copy of original | |||
|
126 | ||||
|
127 | changeset: 0:1c9e69808da7 | |||
|
128 | user: test | |||
|
129 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
130 | summary: add original | |||
|
131 | ||||
|
132 | $ rhg files -r 41263439dc17 | |||
|
133 | abort: invalid revision identifier 41263439dc17 | |||
|
134 | [255] | |||
|
135 | $ rhg cat -r 41263439dc17 original | |||
|
136 | abort: invalid revision identifier 41263439dc17 | |||
|
137 | [255] | |||
|
138 | ||||
119 | Requirements |
|
139 | Requirements | |
120 | $ rhg debugrequirements |
|
140 | $ rhg debugrequirements | |
121 | dotencode |
|
141 | dotencode |
General Comments 0
You need to be logged in to leave comments.
Login now