Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#12032 closed defect (fixed)

some .py files lacks the svn:eol-style property

Reported by: shunichi.goto@… Owned by: Jun Omae
Priority: low Milestone: 0.12.7
Component: project Version:
Severity: minor Keywords:
Cc: Branch:
Release Notes:

Fix missing svn:eol-style property on *.py files.

API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

contrib/l10n_reset_en_GB.py and contrib/l10n_revert_lineno_conflicts.py do not have the svn:eol-style=native property that others have. This is not so important thing, but bad thing for mirrored hg repository users with eol extension because their statuses are always 'modified' even if after hg revert -a.

Attachments (0)

Change History (4)

comment:1 by Jun Omae, 9 years ago

Component: contribproject
Owner: set to Jun Omae
Status: newassigned

Thanks for the reporting! We should set svn:eol-style property to native for all *.py files. Currently, the property automatically is set native for when adding new files using svn:auto-props since #11324.

The following files don't have svn:eol-style=native property.

$ diff -U0 \
  <(find trunk branches/{1.0,0.12}-stable -name '*.py' | sort) \
  <(find trunk branches/{1.0,0.12}-stable -name '*.py' -exec svn propget svn:eol-style '{}' + | sed -e 's# - native$##' | sort) \
  | sed -n '/^[-+][tb]/ { s/^[-+]//; p }'
branches/0.12-stable/contrib/l10n_reset_en_GB.py
branches/1.0-stable/contrib/l10n_reset_en_GB.py
branches/1.0-stable/contrib/l10n_revert_lineno_conflicts.py
branches/1.0-stable/tracopt/versioncontrol/git/__init__.py
branches/1.0-stable/tracopt/versioncontrol/__init__.py
branches/1.0-stable/trac/ticket/batch.py
trunk/contrib/l10n_reset_en_GB.py
trunk/contrib/l10n_revert_lineno_conflicts.py
trunk/trac/notification/api.py
trunk/trac/notification/compat.py
trunk/trac/notification/__init__.py
trunk/trac/notification/mail.py
trunk/trac/notification/model.py
trunk/trac/notification/prefs.py
trunk/tracopt/versioncontrol/git/__init__.py
trunk/tracopt/versioncontrol/__init__.py
trunk/trac/ticket/batch.py
trunk/trac/upgrades/db34.py
trunk/trac/upgrades/db35.py
trunk/trac/upgrades/db40.py

comment:2 by Jun Omae, 9 years ago

Milestone: 0.12.7
Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Added svn:eol-style property in [13982:13985].

comment:3 by Peter Suter, 9 years ago

I now upgraded my SVN client, so it should observe svn:auto-props in the future. Sorry for the trouble.

comment:4 by Ryan J Ollos, 4 years ago

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.