Comments
Patch
@@ -0,0 +1,4 @@
+int main(int argc, const char *argv[])
+{
+ return 0;
+}
23:59:04 ~/temp1 $ hg ci -m "Initial commit on default."
23:59:50 ~/temp1 $ hg branch feature
marked working directory as branch feature
(branches are permanent and global, did you want a bookmark?)
23:59:56 ~/temp1 $ vim main.cpp
00:00:25 ~/temp1 $ hg diff
@@ -1,4 +1,7 @@
+void dummy()
+{
+}
+
int main(int argc, const char *argv[])
{
- return 0;
}
00:00:32 ~/temp1 $ hg ci -m "commit on feature branch."
00:01:05 ~/temp1 $ hg histedit tip
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
reverting main.cpp
Editing (9c2d715a4c80), you may commit or record as needed now.
(hg histedit --continue to resume)
00:01:21 ~/temp1 $ hg vim main.cpp
2 files to edit
00:01:36 ~/temp1 $ hg diff
@@ -1,3 +1,7 @@
+void dummy()
+{
+}
+
int main(int argc, const char *argv[])
{
return 0;