2009/11/26 paulh <paul.h...@gmail.com>:
> Thank's for the reply. I do use tortoise and I tried what you
> suggested: nothing happened. Now I look at the patch file I think
> maybe it was generated by git (which I am not familiar with). The
> first few lines of the patch file (downloaded from django source) are:
>
> diff --git a/django/contrib/admin/media/js/admin/
> RelatedObjectLookups.js b/django/contrib/admin/media/js/admin/
> RelatedObjectLookups.js
> index 1bc78f8..3941752 100644
> --- a/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
> +++ b/django/contrib/admin/media/js/admin/RelatedObjectLookups.js
>
> so I guess that explains it, but I thought django used used svn!
>
> Paul Hide
>

Django uses SVN as the official repository, but AFAIK git is often
used for development of new features etc cos it is not centralized and
it is very simple to create branches in it and so on.

For patching on windows you could use either gnuwin32 [1] or unxutils
[2] for comand line, both of which should be able to use patch files
produced by any diff (svn, git or just diff) like Tim said:

patch -p0 < /path/to/patch.diff

If your are fan of GUI apps then there are TortoiseSVN or  Eclipse but
i am not too sure how to apply patches with them, though a quick
google search would answer that question probably.

[1] http://gnuwin32.sourceforge.net/packages/patch.htm
[2] http://sourceforge.net/projects/unxutils/

Davor

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to