Commit MetaInfo

Revision06a849029b336eee1317cfaba5e619cb7fdd7de6 (tree)
Time2009-05-07 23:02:39
AuthorFace
CommiterFace

Log Message

Extdiff showing revision number in path

Change Summary

Incremental Difference

diff -r 000000000000 -r 06a849029b33 .hgignore
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Thu May 07 16:02:39 2009 +0200
@@ -0,0 +1,5 @@
1+^\.hg
2+^\.mq
3+syntax: glob
4+status
5+guards
diff -r 000000000000 -r 06a849029b33 Extdiff_with_revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Extdiff_with_revisions Thu May 07 16:02:39 2009 +0200
@@ -0,0 +1,12 @@
1+diff --git a/hgext/extdiff.py b/hgext/extdiff.py
2+--- a/hgext/extdiff.py
3++++ b/hgext/extdiff.py
4+@@ -55,7 +55,7 @@
5+ dirname = os.path.basename(repo.root)
6+ if dirname == "":
7+ dirname = "root"
8+- dirname = '%s.%s' % (dirname, short(node))
9++ dirname = '%s.%s.%s' % (dirname, repo.changelog.rev(node), short(node))
10+ base = os.path.join(tmproot, dirname)
11+ os.mkdir(base)
12+ ui.note(_('making snapshot of %d files from rev %s\n') %
diff -r 000000000000 -r 06a849029b33 series
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/series Thu May 07 16:02:39 2009 +0200
@@ -0,0 +1,1 @@
1+Extdiff_with_revisions
Show on old repository browser