+
+Gundo.vim is Vim plugin to visualize your Vim undo tree.
+
+Preview
+-------
+
+Screencast:
+
+### [http://screenr.com/M9l](http://screenr.com/M9l)
+
+Screenshot:
+
+
+
+Requirements
+------------
+
+* Vim 7.3+
+* Python support for Vim
+* Python 2.4+
+
+Installation and Usage
+----------------------
+
+Check out the [project site][] for installation instructions.
+
+[project site]: http://sjl.bitbucket.org/gundo.vim/
+
+License
+-------
+
+GPLv2+, just like Mercurial.
diff --git a/plugin/gundo.py b/bundle/gundo/autoload/gundo.py
similarity index 99%
rename from plugin/gundo.py
rename to bundle/gundo/autoload/gundo.py
index aedc05e..21d66f0 100644
--- a/plugin/gundo.py
+++ b/bundle/gundo/autoload/gundo.py
@@ -553,7 +553,10 @@ def GundoPlayTo():
return None
nodes.append(current)
- return reversed(nodes) if rev else nodes
+ if rev:
+ return reversed(nodes)
+ else:
+ return nodes
branch = _walk_branch(start, end)
diff --git a/autoload/gundo.vim b/bundle/gundo/autoload/gundo.vim
similarity index 87%
rename from autoload/gundo.vim
rename to bundle/gundo/autoload/gundo.vim
index 1b5de02..c0033a6 100644
--- a/autoload/gundo.vim
+++ b/bundle/gundo/autoload/gundo.vim
@@ -19,22 +19,6 @@ if v:version < '703'"{{{
finish
endif"}}}
-if has('python')"{{{
- let s:has_supported_python = 1
-else
- let s:has_supported_python = 0
-endif
-
-if !s:has_supported_python
- function! s:GundoDidNotLoad()
- echohl WarningMsg|echomsg "Gundo requires Vim to be compiled with Python 2.4+"|echohl None
- endfunction
- command! -nargs=0 GundoToggle call s:GundoDidNotLoad()
- finish
-endif"}}}
-
-let s:plugin_path = escape(expand('