Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: facebook/watchman

Tags

v2025.12.29.00

Toggle v2025.12.29.00's commit message
Updating hashes

Summary:
GitHub commits:

facebook/fb303@8c6cff7
facebookexperimental/rust-shed@5991d4e

Reviewed By: sdwilsh

fbshipit-source-id: 284ad0c2b7ef33ad95eb2383d8637a8869c05481

v2025.12.22.00

Toggle v2025.12.22.00's commit message
Add documentation for pywatchman.WatchmanError

Summary:
## Instructions about RACER Diffs:
**Commandeer this diff (recommended) or land with accept2ship tag.**

**This diff was generated by Racer AI agent on behalf of [Brian Johnson](https://www.internalfb.com/profile/view/8646079) for T246430665. If the diff quality is poor, consider contacting the user to provide clearer instructions on the task.**

- If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**)
- If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate.
- If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff.
- **For M10N reviewers:** as you review AI-generated diffs, we ask you to give them the same priority as human-generated diffs, and take action in a timely manner by either accepting, rejecting, or resigning as a reviewer. For diffs that don't meet the quality bar (e.g. code doesn't compile, not readable or introduces functionality regressions), we ask that you use the following hashtags to provide clear signals to improve our tools - `#monlowqualitydiff` `#monwrongreviewerdiff`

## Summary:
Added documentation string to the `WatchmanError` exception class in the pywatchman Python client library. The docstring describes:
- The purpose of the exception as the base class for watchman client errors
- When the exception is raised (communication failures, invalid responses, command errors)
- The attributes available on the exception (msg and cmd)

This improves code discoverability and helps developers understand how to properly use and handle watchman exceptions.
 ---
> Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/)
[Session](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=22b42bbe-ca14-11f0-ab37-7115bb1e625e&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=430f145c-cd1e-11f0-aa72-5f870866344c&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=5792f722-cf7b-11f0-9ea6-ff4b76a4ce47&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=6ca100a0-d1d8-11f0-9bd5-3390cd8a767b&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=f2d59820-d435-11f0-b97b-8d212eb8d030&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=49530cd2-d693-11f0-9cd9-69ba5c921554&tab=Trace)
[Session](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=0cfcce5c-d8f1-11f0-af3d-8bf71b43c89e&tab=Trace)

Reviewed By: xavierd

Differential Revision: D87866042

fbshipit-source-id: b75a10db7926284a5cf542cc635c49b039709340

v2025.12.15.00

Toggle v2025.12.15.00's commit message
Fix clippy::unnecessary_map_or issues in fbcode/watchman/cli/src

Reviewed By: dtolnay

Differential Revision: D88837554

fbshipit-source-id: 4af50a0b4cba44e789d03b297d90c515a435baf4

v2025.12.01.00

Toggle v2025.12.01.00's commit message

v2025.11.24.00

Toggle v2025.11.24.00's commit message
fix windows build setuptools error (#1316)

Summary:
Pull Request resolved: #1316

The upgrade of setuptools in D79195099 broke pywatchman  build,  Github windows CI erroring with  `AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'` https://github.com/facebook/watchman/actions/runs/19440507973/job/55622405533#step:131:1188 .  It was only affecting windows as only windows CI is building dependencies form source, the others use system dependencies.

Fix by pinning watchman to the previous setuptools version

Fix to help iterate locally:
*  fix the cargo.py remove behaviour to use rmtree_more.  This fixes repeat local builds while debugging. After the first build was getting `PermissionError: [WinError 5] Access is denied: 'Z:\build\fbthrift\source\.git\objects\pack\pack-250eb41d409d8c0f512fdb239d0225fa35d50c3d.idx'`

Reviewed By: bigfootjon

Differential Revision: D87655865

fbshipit-source-id: 8948b0ffe38f304fa96051bf6ac3a0455ef1a16e

v2025.11.10.00

Toggle v2025.11.10.00's commit message
performance-move-const-arg in eden.cpp

Reviewed By: xavierd

Differential Revision: D86492736

fbshipit-source-id: 905579b4977eff34d0e0054723225131cdd147c9

v2025.11.03.00

Toggle v2025.11.03.00's commit message

v2025.10.27.00

Toggle v2025.10.27.00's commit message
clang-format | Format fbsource with clang-format 21.

Reviewed By: ChristianK275

Differential Revision: D85317706

fbshipit-source-id: b399c5c4b75252999442b7d7d2778e7a241b0025