There is a recent thread that is very similar to this. Look for the 
subject "Merging vim-latex/master:vimfiles into local repo" from 
Feburary 17 of this year.

A key difference between DVCS (all of them) and subversion is that the 
change history is associated with an entire project and not with 
particular files or subdirectories, like you have in subversion. When 
designing the structure of the DVCS repository up front, there are ways 
to create "subrepositories" inside directories that can be treated in a 
similar way (i.e., instead of cloning "vim-latex" you clone 
"vim-latex-vimfiles" which is otherwise parked inside the "vimfiles" 
directory inside "vim-latex"), but that requires setting things up ahead 
of time.

In that thread mentioned above, Till seems happy with splitting the 
vim-latex web and vimfiles into two separate projects. That would solve 
the problem. However, it was unresolved as to whether it would be better 
to generate two new repositories (e.g., with hg convert) with new 
changeset id's, or generate one totally new repository and just mutate 
the directory structure in the old repository to maintain the old change 
history.

So it's possible in the future (near future?) the vim-latex repo will 
look very different and it may be possible to do more exciting things 
(like using a "hg pull" to pull the unrelated repository into your own 
vimfiles repository, and then merging your repo with the Mercurial 
repo). Meanwhile, it may be better to create your clone elsewhere and 
then use rsync to update files in your home directory. For example, from 
the vimfiles directory inside the vim-latex repo, you can do:

make -f Makefile.in install

and it will execute:

rsync -CrtW "--exclude='*~' --exclude='*.swp' --exclude='makefile'" . ~/.vim

which will copy any new vim-latex/vimfiles changes into ~/.vim.

--Ted


On 03/06/2011 10:15 PM, Jeremy Conlin wrote:
> I would like to stay abreast of the latest changes in vim-latex.  That
> is, I would like my vimfiles to be current with what is available in
> the repository.  I know the repository was recently changed from
> subversion to git.  In subversion I could just checkout the vimfiles
> directory into my ~/.vim directory.  I'm not sure how to do this with
> git.
>
> Is it possible to clone only the vimfiles directory ?

-- 
Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to