You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Shlomi Fish <sh...@vipe.stud.technion.ac.il> on 2003/08/17 09:27:50 UTC

[PATCH] Fix for Issue #1473 [was Re: issue #1473]

Here's a patch that fixes this problem. Here's the log:

<<<
Resolves Issue #1437 (Repos->WC copy of a file with svn:keywords causes
svn to crash)

* include/svn_wc.h
  added the declaration of svn_wc_add_repos_file_post().

* libsvn_wc/update_editor.c
  (svn_add_repos_file): Change the copy-and-translate command to a plain
  copy one. This is so, the entry won't be needed in order to process
  the keyword.
  Added svn_wc_add_repos_post: this function does the actual translation.


* libsvn_client/copy.c
  (repos_to_wc_copy): Added a call to svn_wc_add_repos_file_post(),
  after svn_wc_add().

* copy_test.py
  Added the repos_to_wc_copy_eol_keywords test.

>>>

Regards,

	Shlomi Fish

----------------------------------------------------------------------
Shlomi Fish        shlomif@vipe.technion.ac.il
Home Page:         http://t2.technion.ac.il/~shlomif/

An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.

	Falk Fish

Re: [PATCH] Fix for Issue #1473 [was Re: issue #1473]

Posted by kf...@collab.net.
Shlomi Fish <sh...@vipe.stud.technion.ac.il> writes:
> Here's a patch that fixes this problem. Here's the log:
> Resolves Issue #1437 (Repos->WC copy of a file with svn:keywords causes
> svn to crash)

Thanks, Shlomi!  This patch is on the top of my stack for tomorrow
morning.

-Karl





> * include/svn_wc.h
>   added the declaration of svn_wc_add_repos_file_post().
> 
> * libsvn_wc/update_editor.c
>   (svn_add_repos_file): Change the copy-and-translate command to a plain
>   copy one. This is so, the entry won't be needed in order to process
>   the keyword.
>   Added svn_wc_add_repos_post: this function does the actual translation.
> 
> 
> * libsvn_client/copy.c
>   (repos_to_wc_copy): Added a call to svn_wc_add_repos_file_post(),
>   after svn_wc_add().
> 
> * copy_test.py
>   Added the repos_to_wc_copy_eol_keywords test.
> 
> >>>
> 
> Regards,
> 
> 	Shlomi Fish
> 
> ----------------------------------------------------------------------
> Shlomi Fish        shlomif@vipe.technion.ac.il
> Home Page:         http://t2.technion.ac.il/~shlomif/
> 
> An apple a day will keep a doctor away. Two apples a day will keep two
> doctors away.
> 
> 	Falk Fish
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org