Anonymous avatar Anonymous committed 10b23ee

follow commit line on pushing

Comments (0)

Files changed (1)

hgsvn/run/hgpushsvn.py

     revisions (included).
     """
     args = ["log", "--template", '{rev}:{node|short}\n', "-b", svn_branch,
-            '--limit', '1000',
+            '--limit', '1000', '--follow',
             "-r", "%s:%s" % (strip_hg_rev(first_rev),
                              strip_hg_rev(last_rev))]
     out = run_hg(args)
 
 def get_hg_csets_description(start_rev, end_rev):
     """Get description of a given changeset range."""
-    return run_hg(["log", "--template", "{desc|strip}\n", "--rev",
+    return run_hg(["log", "--template", "{desc|strip}\n", "--follow", "--rev",
                    start_rev+":"+end_rev, "--prune", start_rev])
 
 def get_hg_cset_description(rev_string):
 def get_hg_log(start_rev, end_rev):
     """Get log messages for given changeset range."""
 
-    log_args=["log", "--verbose", "--rev", start_rev+":"+end_rev, "--prune", start_rev]
+    log_args=["log", "--verbose", "--follow", "--rev", start_rev+":"+end_rev, "--prune", start_rev]
     return run_hg(log_args)
 
 def get_svn_subdirs(top_dir):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.