Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port projectile-time-seconds to future Emacs #1735

Merged
merged 1 commit into from
Dec 16, 2021

Conversation

eggert
Copy link
Contributor

@eggert eggert commented Dec 15, 2021

Don’t assume internal format of Emacs timestamps.

They are documented to change in a future version.
This patch works on older Emacs versions; it can be simplified
to just use time-convert if we assume Emacs 27 or later.

Don’t assume internal format of Emacs timestamps.

They are documented to change in a future version.
This patch works on older Emacs versions; it can be simplified
to just use time-convert if we assume Emacs 27 or later.
@eggert
Copy link
Contributor Author

eggert commented Dec 15, 2021

Stefan writes that you need to merge this PR rather than rebasing it, so that projectile propagates to Savannah properly. Sorry, when I changed the copy on Savannah I didn't realize the workflow meant you needed to merge the change upstream.

@bbatsov bbatsov merged commit cd8bcbc into bbatsov:master Dec 16, 2021
@bbatsov
Copy link
Owner

bbatsov commented Dec 16, 2021

No worries. Thanks!

@monnier
Copy link

monnier commented Dec 21, 2021

Looks like the commit merged wasn't quite the right one:

% make fetch/projectile
emacs --batch -l admin/elpa-admin.el -f elpaa-batch-fetch-and-show "projectile"
Fetching updates for projectile...
Upstream of projectile has DIVERGED!

  Local changes:
Depuis https://github.com/bbatsov/projectile
 * [nouvelle référence]               -> upstream/projectile/main
ac60885f2a  eggert@cs.ucla..  Port projectile-time-seconds to future Emacs

  Upstream changes:
fab2c546fd  bozhidar@batso..  Tweak a changelog entry
b7937e212d  bozhidar@batso..  [#1734] Add a changelog entry
f7eba5e164  laurencewarne@..  Fix emacs 25 incompat in projectile--complementary-file
f753cdbcf8  laurencewarne@..  Update documentation around test/src-dir and update sbt project type
139cb02e20  laurencewarne@..  Fix tests
fad389aecf  laurencewarne@..  Make src/test-dir as strings take priority over fallback
cd8bcbcb15  bozhidar@batso..  Merge pull request #1735 from eggert/timestamp
43decc573b  eggert@cs.ucla..  Port projectile-time-seconds to future Emacs

%

Could you git merge -s ours ac60885f2a so nongnu.git's branch can be fast-forwarded to the upstream?
Currently, NonGNU ELPA is not sync'ing with the Github repository because it requires a merge rather than a fast-forward :-(

Sorry 'bout the hassle.

@bbatsov
Copy link
Owner

bbatsov commented Dec 21, 2021 via email

@monnier
Copy link

monnier commented Dec 23, 2021 via email

@monnier
Copy link

monnier commented Dec 26, 2021

Hmm I see there was a copy&paste typo:

git remote add -ft elpa/projectile nongnu git://git.sv.gnu.org/emacs/nongnu.git
git merge -s ours ac60885f2a

@bbatsov
Copy link
Owner

bbatsov commented Dec 27, 2021

Done. Let me know if we managed to fix the problem.

@monnier
Copy link

monnier commented Dec 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants